diff options
author | Alex <alex@adnab.me> | 2023-04-21 14:00:06 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2023-04-21 14:00:06 +0000 |
commit | c19ab05802fda6651eb50d065db960a72f3a34b5 (patch) | |
tree | 996dccf1ba5d8653476883cf2db5f10a9ccc2349 /src/main.rs | |
parent | aaff9b7d4ab0d2eeae88e7bb4a4f6512deaebb34 (diff) | |
parent | b60f5b1694aee70aea61f8de7bf5f6090c0d53e6 (diff) | |
download | D53-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.rs | 3 |
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(), |