Skip to content

Commit

Permalink
fixing accidental removal of name
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoryboudreau committed Oct 23, 2023
1 parent e917716 commit e3a3b5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sonic-thermalctld/scripts/thermalctld
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ class TemperatureUpdater(logger.Logger):

for psu_index, psu in enumerate(module.get_all_psus()):
if psu.get_presence() and psu.get_powergood_status():
psu_name = '{} PSU {}'.format(module_name, psu_index + 1)
for thermal_index, thermal in enumerate(psu.get_all_thermals()):
if self.task_stopping_event.is_set():
return
Expand Down

0 comments on commit e3a3b5e

Please sign in to comment.