diff options
author | Alex <alex@adnab.me> | 2022-12-01 16:51:20 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2022-12-01 16:51:20 +0000 |
commit | f306e8dc8d0e93478353ce39b6064e8c06a8bca6 (patch) | |
tree | 2f7ee2b28a161dc0d5268a6c053c6a8126f64e68 /src/diplonat.rs | |
parent | 862e8ce8768338ccdb190055fd05dc7f8e0a01cd (diff) | |
parent | f8431271d9021bfd4bfb85d8c3ba331d5dff9dac (diff) | |
download | diplonat-f306e8dc8d0e93478353ce39b6064e8c06a8bca6.tar.gz diplonat-f306e8dc8d0e93478353ce39b6064e8c06a8bca6.zip |
Merge pull request 'Make repoa Nix flake' (#16) from nix-flake into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/16
Diffstat (limited to 'src/diplonat.rs')
-rw-r--r-- | src/diplonat.rs | 2 |
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?; |