[mellanox]: fix wrong type of paramerter (#2950)
This commit is contained in:
parent
60bd7417ea
commit
81071ec461
@ -181,7 +181,7 @@ class MlnxSfpd:
|
||||
|
||||
for port in port_list:
|
||||
log_info("SFP on port {} state {}".format(port, sfp_state))
|
||||
self.send_sfp_notification(port, sfp_state)
|
||||
self.send_sfp_notification(str(port), sfp_state)
|
||||
|
||||
self.update_sfpd_liveness_key(SFPD_LIVENESS_EXPIRE_SECS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user