aboutsummaryrefslogtreecommitdiff
path: root/src/diplonat.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-30 20:42:56 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-30 20:42:56 +0100
commit04bdd029fefbce08184c12809b5d6e4bf2a12fa1 (patch)
tree9f03cccf6558df489ff05c65c23d6a01a7a2f02d /src/diplonat.rs
parent4560622fa125afb8ac5161f8d0e8a353f99f7a38 (diff)
downloaddiplonat-04bdd029fefbce08184c12809b5d6e4bf2a12fa1.tar.gz
diplonat-04bdd029fefbce08184c12809b5d6e4bf2a12fa1.zip
Add TLS support for Consul
Diffstat (limited to 'src/diplonat.rs')
-rw-r--r--src/diplonat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diplonat.rs b/src/diplonat.rs
index 397ba82..22ebd6e 100644
--- a/src/diplonat.rs
+++ b/src/diplonat.rs
@@ -16,7 +16,7 @@ impl Diplonat {
let rt_cfg = ConfigOpts::from_env()?;
println!("{:#?}", rt_cfg);
- let ca = ConsulActor::new(&rt_cfg.consul.url, &rt_cfg.consul.node_name);
+ let ca = ConsulActor::new(&rt_cfg.consul, &rt_cfg.consul.node_name);
let fw = FirewallActor::new(rt_cfg.firewall.refresh_time, &ca.rx_open_ports).await?;