Skip to content

Commit

Permalink
[mellanox]: fix wrong type of paramerter (#2950)
Browse files Browse the repository at this point in the history
  • Loading branch information
keboliu authored and lguohan committed May 28, 2019
1 parent 60bd741 commit 81071ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/mellanox/mlnx-sfpd/scripts/mlnx-sfpd
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 81071ec

Please sign in to comment.