From 3cccda0e8e0cef7ff46f5068df26049fc53115ce Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 26 Jan 2023 11:51:35 +0100 Subject: [PATCH] cargo fmt --- src/proxy_config.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/proxy_config.rs b/src/proxy_config.rs index 172bdb8..3bf6903 100644 --- a/src/proxy_config.rs +++ b/src/proxy_config.rs @@ -243,13 +243,9 @@ fn parse_consul_catalog( } for tag in svc.tags.iter() { - if let Some(ent) = parse_tricot_tag( - svc.service.clone(), - tag, - addr, - &add_headers[..], - flags, - ) { + if let Some(ent) = + parse_tricot_tag(svc.service.clone(), tag, addr, &add_headers[..], flags) + { entries.push(ent); } }