From e3a3b5e324452c49a991bf3f3d604c956a94aa92 Mon Sep 17 00:00:00 2001 From: Gregory Boudreau Date: Mon, 23 Oct 2023 01:54:06 -0700 Subject: [PATCH] fixing accidental removal of name --- sonic-thermalctld/scripts/thermalctld | 1 + 1 file changed, 1 insertion(+) diff --git a/sonic-thermalctld/scripts/thermalctld b/sonic-thermalctld/scripts/thermalctld index ffc583c2d..97fb2d0f7 100644 --- a/sonic-thermalctld/scripts/thermalctld +++ b/sonic-thermalctld/scripts/thermalctld @@ -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