aboutsummaryrefslogtreecommitdiff
path: root/src/dns_config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns_config.rs')
-rw-r--r--src/dns_config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns_config.rs b/src/dns_config.rs
index 37a49fa..4fe7c59 100644
--- a/src/dns_config.rs
+++ b/src/dns_config.rs
@@ -185,7 +185,7 @@ pub fn spawn_dns_config_task(
Ok((catalog, new_idx)) => {
let mut watch_state = nodes.get_mut(&node).unwrap();
watch_state.last_idx = Some(new_idx);
- watch_state.last_catalog = Some(catalog);
+ watch_state.last_catalog = catalog;
watch_state.retries = 0;
let idx = watch_state.last_idx;