mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
fix clippy error
This commit is contained in:
parent
6a09b52c5e
commit
1421c26756
1 changed files with 4 additions and 2 deletions
|
@ -446,8 +446,10 @@ mod test {
|
||||||
unhealthy_count: unhealthy_count.clone(),
|
unhealthy_count: unhealthy_count.clone(),
|
||||||
};
|
};
|
||||||
let bob = Box::new(ob);
|
let bob = Box::new(ob);
|
||||||
let mut tcp_check = TcpHealthCheck::default();
|
let tcp_check = TcpHealthCheck {
|
||||||
tcp_check.health_changed_callback = Some(bob);
|
health_changed_callback: Some(bob),
|
||||||
|
..Default::default()
|
||||||
|
};
|
||||||
|
|
||||||
let discovery = discovery::Static::default();
|
let discovery = discovery::Static::default();
|
||||||
let mut backends = Backends::new(Box::new(discovery));
|
let mut backends = Backends::new(Box::new(discovery));
|
||||||
|
|
Loading…
Reference in a new issue