feat(nacos): improve service and instance management

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-08-06 12:16:52 +08:00
1 parent b5ba730404
commit c754b85295
38 files changed
+4787 -695

No files matched your search

+2 -5
View File
@@ -323,11 +323,8 @@ impl LocalBackend {
}
}
}
let stale_ids: Vec<String> = runtime
.keys()
.filter(|id| !configs.iter().any(|config| &config.id == *id))
.cloned()
.collect();
let stale_ids: Vec<String> =
runtime.keys().filter(|id| !configs.iter().any(|config| &config.id == *id)).cloned().collect();
for id in stale_ids {
runtime.remove(&id);
}