2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 19:40:12 +00:00

Fix adequate check on inadequate IMMs

This commit is contained in:
Jarrod Johnson 2019-04-08 10:14:49 -04:00
parent d6ecee955b
commit c070148aed

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', {})