2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-10-20 06:35:33 +00:00

Fix register

Ensure info_identifier is set if it was not set by way of safe_detected first.
This commit is contained in:
Jarrod Johnson
2026-10-09 16:44:51 -04:00
parent ea926aab12
commit a6e89c1543
@@ -837,6 +837,11 @@ async def eval_detected(info):
async def detected(info):
global rechecker
global rechecktime
if 'info_identifier' not in info:
infoid = info.get('hwaddr', info.get('addresses', [[None]])[0][0])
if not infoid:
return
info['info_identifier'] = infoid
if not cfm.config_is_ready():
# drop processing of discovery data while configmanager is 'down'
return