aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-08 12:10:58 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-08 12:10:58 +0100
commit8a4778c6bc28403f85a68c420709d2758c7378c4 (patch)
treee66f90ce03b0efdb384b7849edcc54c77260d862 /src/main.rs
parent7599dfc0ef5b06d92eca8f9a954663e008a0b1fb (diff)
downloadtricot-8a4778c6bc28403f85a68c420709d2758c7378c4.tar.gz
tricot-8a4778c6bc28403f85a68c420709d2758c7378c4.zip
Tolerate ending / in Consul address
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 79c366b..481fe35 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -21,7 +21,7 @@ struct Opt {
#[structopt(
long = "consul-addr",
env = "TRICOT_CONSUL_HOST",
- default_value = "http://127.0.0.1:8500/"
+ default_value = "http://127.0.0.1:8500"
)]
pub consul_addr: String,