diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-26 11:51:35 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-26 11:51:35 +0100 |
commit | 3cccda0e8e0cef7ff46f5068df26049fc53115ce (patch) | |
tree | 25a89f1a13b9ea4d48439bdecc956f3e71c67637 /src | |
parent | d83624e8f39c36472eb3b84de356c125a0794d16 (diff) | |
download | tricot-3cccda0e8e0cef7ff46f5068df26049fc53115ce.tar.gz tricot-3cccda0e8e0cef7ff46f5068df26049fc53115ce.zip |
cargo fmt
Diffstat (limited to 'src')
-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); } } |