2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Correct api call in discovery

This commit is contained in:
Jarrod Johnson 2023-02-22 09:34:32 -05:00
parent 2379f6f90f
commit 6df2e822a5

View File

@ -1184,7 +1184,7 @@ def search_smms_by_cert(currsmm, cert, cfg):
if len(nl) == 1:
return currsmm, bay, nl[0]
return currsmm, bay, None
exnl = list(cfg.filter_node_attrubutes('enclosure.extends=' + currsmm))
exnl = list(cfg.filter_node_attributes('enclosure.extends=' + currsmm))
if len(exnl) == 1:
return search_smms_by_cert(exnl[0], cert, cfg)