diff --git a/src/rust/lqos_config/src/network_json.rs b/src/rust/lqos_config/src/network_json.rs index 8924eaa9..f5cd2635 100644 --- a/src/rust/lqos_config/src/network_json.rs +++ b/src/rust/lqos_config/src/network_json.rs @@ -157,7 +157,9 @@ impl NetworkJson { /// have been made to the clone, and the clone is then copied back /// into the main structure. pub fn finish_update_cycle(&mut self, counting: NetworkJsonCounting) { - self.nodes = counting.nodes; + if !counting.nodes.is_empty() { + self.nodes = counting.nodes; + } } }