[barefoot][sonic-platform] Fix Fan.set_speed (#7763)
Fixed typo Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
This commit is contained in:
parent
202c31ebbe
commit
6a90c09cc7
@ -38,7 +38,7 @@ class Fan(FanBase):
|
|||||||
|
|
||||||
def set_speed(self, percent):
|
def set_speed(self, percent):
|
||||||
def set_fan_speed(client):
|
def set_fan_speed(client):
|
||||||
return client.pltfm_mgr.pltfm_mgr_fan_speed_set(fan, percent)
|
return client.pltfm_mgr.pltfm_mgr_fan_speed_set(self.__num, percent)
|
||||||
return thrift_try(set_fan_speed)
|
return thrift_try(set_fan_speed)
|
||||||
|
|
||||||
# DeviceBase interface methods:
|
# DeviceBase interface methods:
|
||||||
|
Reference in New Issue
Block a user