mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 18:49:04 +00:00
Fix nodeattrib
nodeattrib was broken by the nodeconfig changes
This commit is contained in:
parent
bac37dfa8d
commit
414572f626
@ -315,7 +315,7 @@ def print_attrib_path(path, session, requestargs, options, rename=None):
|
||||
for node in sorted(res['databynode']):
|
||||
for attr, val in sorted(
|
||||
res['databynode'][node].items(),
|
||||
key=lambda (k, v): v.get('sortid', k) if v else k):
|
||||
key=lambda (k, v): v.get('sortid', k) if isinstance(v, dict) else k):
|
||||
seenattributes.add(attr)
|
||||
if rename:
|
||||
printattr = rename.get(attr, attr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user