feat(nacos): improve service and instance management
This commit is contained in:
38 files changed
+4787
-695
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user