Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmunns committed Jun 24, 2024
1 parent d0f8e86 commit db0e5ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pingora-proxy/examples/load_balancer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ fn main() {

// 127.0.0.1:343" is just a bad server
let mut upstreams =
LoadBalancer::try_from_iter_default_meta(["1.1.1.1:443", "1.0.0.1:443", "127.0.0.1:343"]).unwrap();
LoadBalancer::try_from_iter_default_meta(["1.1.1.1:443", "1.0.0.1:443", "127.0.0.1:343"])
.unwrap();

// We add health check in the background so that the bad server is never selected.
let hc = health_check::TcpHealthCheck::new();
Expand Down

0 comments on commit db0e5ee

Please sign in to comment.