2
0
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:
Jarrod Johnson 2019-02-06 09:19:55 -05:00
parent 44bcca99b6
commit bfe55e276d

View File

@ -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]