aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-04-21 14:00:06 +0000
committerAlex <alex@adnab.me>2023-04-21 14:00:06 +0000
commitc19ab05802fda6651eb50d065db960a72f3a34b5 (patch)
tree996dccf1ba5d8653476883cf2db5f10a9ccc2349 /src/main.rs
parentaaff9b7d4ab0d2eeae88e7bb4a4f6512deaebb34 (diff)
parentb60f5b1694aee70aea61f8de7bf5f6090c0d53e6 (diff)
downloadD53-docker-4.tar.gz
D53-docker-4.zip
Merge pull request 'Support for loading IP addresses from DiploNAT autodiscovery' (#4) from diplonat-autodiscovery into maindocker-4
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/D53/pulls/4
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 1a41c18..9461596 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -5,6 +5,7 @@ use tokio::select;
use tokio::sync::watch;
use tracing::*;
+mod autodiscovery;
mod dns_config;
mod dns_updater;
mod provider;
@@ -111,7 +112,7 @@ async fn main() {
.map(ToString::to_string)
.collect::<Vec<_>>();
- let rx_dns_config = dns_config::spawn_dns_config_task(&consul, exit_signal.clone());
+ let rx_dns_config = dns_config::spawn_dns_config_task(consul, exit_signal.clone());
let updater_task = tokio::spawn(dns_updater::dns_updater_task(
rx_dns_config.clone(),