[devices]: fix SFP initialization in the Chassis for mlnx-platform-api (#3012)

This commit is contained in:
txj36 2019-07-03 02:39:24 +08:00 committed by lguohan
parent 1616f482e7
commit 22c0f4d877

View File

@ -71,7 +71,7 @@ class Chassis(ChassisBase):
sfp_module = SFP(index, 'QSFP') sfp_module = SFP(index, 'QSFP')
else: else:
sfp_module = SFP(index, 'SFP') sfp_module = SFP(index, 'SFP')
self._psu_list.append(sfp_module) self._sfp_list.append(sfp_module)
def _extract_num_of_fans_and_fan_drawers(self): def _extract_num_of_fans_and_fan_drawers(self):
num_of_fan = 0 num_of_fan = 0