2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 13:05:49 +00:00

Fix adequate check on inadequate IMMs

This commit is contained in:
Jarrod Johnson 2019-04-08 10:14:49 -04:00
parent 7fecd0ac5c
commit c3eed19309

View File

@ -25,7 +25,7 @@ class NodeHandler(bmchandler.NodeHandler):
def adequate(cls, info):
# We can sometimes receive a partially initialized SLP packet
# This is not adequate for being satisfied
return bool(info['attributes'])
return bool(info.get('attributes', {}))
def scan(self):
slpattrs = self.info.get('attributes', {})