[lldpmgrd] Don't log error message for outdated event (#14178) (#14274)

This commit is contained in:
mssonicbld 2023-03-17 04:52:04 +08:00 committed by GitHub
parent df22ead036
commit 929c1849fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,7 +260,7 @@ class LldpManager(daemon_base.DaemonBase):
self.pending_cmds.pop(key, None)
elif op == "DEL":
self.pending_cmds.pop(key, None)
else:
elif op:
self.log_error("unknown operation '{}'".format(op))
elif key == "PortInitDone":
self.port_init_done = True