diff options
-rw-r--r-- | src/proxy_config.rs | 10 |
1 files 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); } } |