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:
parent
2379f6f90f
commit
6df2e822a5
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user