Skip to content

Commit 4405ec9

Browse files
keboliujleveque
authored andcommitted
fix typo in platform API base class (sonic-net#25)
1 parent 30b6f52 commit 4405ec9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sonic_platform_base/chassis_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,4 @@ def get_watchdog(self):
220220
An object derived from WatchdogBase representing the hardware
221221
watchdog device
222222
"""
223-
return _watchdog
223+
return self._watchdog

sonic_platform_base/psu_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_fan(self):
2929
An object dervied from FanBase representing the fan module
3030
contained in this PSU
3131
"""
32-
return _fan
32+
return self._fan
3333

3434
def set_status_led(self, color):
3535
"""

0 commit comments

Comments
 (0)