mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 11:30:23 +00:00
Treat blank enclosure/bay as unset
If someone does the obvious approach to blank something, treat that as equivalent.
This commit is contained in:
parent
decee2ed93
commit
75557091ef
@ -26,6 +26,10 @@ def update(nodes, element, configmanager, inputdata):
|
||||
except KeyError:
|
||||
em = node
|
||||
eb = -1
|
||||
if not em:
|
||||
em = node
|
||||
if not eb:
|
||||
eb = -1
|
||||
try:
|
||||
for rsp in core.handle_path(
|
||||
'/nodes/{0}/_enclosure/reseat_bay'.format(em),
|
||||
|
Loading…
Reference in New Issue
Block a user