[Mellanox] Fix the typo in mlnx-sfpd (#3426)

* [mlnx-sfpd] adjust the log from "error" to "info" since it is something that should be ignored.
This commit is contained in:
Stephen Sun 2019-09-11 05:38:00 +08:00 committed by lguohan
parent df5a03f3e1
commit 9c6b70865a

View File

@ -218,7 +218,7 @@ class MlnxSfpd:
sfp_state = sfp_value_status_dict.get(module_state, STATUS_UNKNOWN)
if sfp_state == STATUS_UNKNOWN:
log_error("unknown module state {} on port {}".format(module_state, port))
log_info("Got module state {} on port(s) {}, ignored".format(module_state, port_list))
continue
for port in port_list: