mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-17 02:58:51 +00:00
Do not try to delete a node if not in discovery data
This could produce undesired traces
This commit is contained in:
parent
44bcca99b6
commit
bfe55e276d
@ -1134,6 +1134,8 @@ def newnodes(added, deleting, configmanager):
|
||||
global needaddhandled
|
||||
global nodeaddhandler
|
||||
for node in deleting:
|
||||
if node not in known_nodes:
|
||||
continue
|
||||
for mac in known_nodes[node]:
|
||||
if mac in known_info:
|
||||
del known_info[mac]
|
||||
|
Loading…
x
Reference in New Issue
Block a user