From cba514692caf1ce6e833368c721281b0892c2c9f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 13 Nov 2018 16:17:39 -0500 Subject: [PATCH] Bring the XCC check fix to IMM The same check that works for XCC should be applied to IMM --- confluent_server/confluent/discovery/handlers/imm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/handlers/imm.py b/confluent_server/confluent/discovery/handlers/imm.py index ecb6b679..f82f4e71 100644 --- a/confluent_server/confluent/discovery/handlers/imm.py +++ b/confluent_server/confluent/discovery/handlers/imm.py @@ -21,7 +21,8 @@ import struct class NodeHandler(bmchandler.NodeHandler): devname = 'IMM' - def adequate(self, info): + @classmethod + def adequate(cls, info): # We can sometimes receive a partially initialized SLP packet # This is not adequate for being satisfied return bool(info['attributes'])