Skip to content

Commit 0ba3915

Browse files
keboliuMichelMoriniaux
authored andcommitted
[mellanox]: fix wrong type of paramerter (sonic-net#2950)
1 parent a59f691 commit 0ba3915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/mellanox/mlnx-sfpd/scripts/mlnx-sfpd

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class MlnxSfpd:
181181

182182
for port in port_list:
183183
log_info("SFP on port {} state {}".format(port, sfp_state))
184-
self.send_sfp_notification(port, sfp_state)
184+
self.send_sfp_notification(str(port), sfp_state)
185185

186186
self.update_sfpd_liveness_key(SFPD_LIVENESS_EXPIRE_SECS)
187187

0 commit comments

Comments
 (0)