2
0
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:
Jarrod Johnson 2021-10-19 15:43:23 -04:00
parent decee2ed93
commit 75557091ef

View File

@ -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),