diff --git a/src/sonic_ax_impl/mibs/ietf/rfc2737.py b/src/sonic_ax_impl/mibs/ietf/rfc2737.py index b0aa7fa9add2..dc63f4c9a7bf 100644 --- a/src/sonic_ax_impl/mibs/ietf/rfc2737.py +++ b/src/sonic_ax_impl/mibs/ietf/rfc2737.py @@ -675,7 +675,7 @@ def _update_per_namespace_data(self, pubsub): db_entry = msg["channel"].split(":")[-1] data = msg['data'] # event data - if not isinstance(data, bytes): + if not isinstance(data, str): continue # extract interface name