Corrected throttle status value check

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I2d75108c64c3ca3e290be1dd5b8c1435c5576f91


[ROCm/amdsmi commit: b233db729b]
Tento commit je obsažen v:
Maisam Arif
2024-09-30 13:23:45 -05:00
rodič ee79530a3c
revize ffcf02ba63
+3 -2
Zobrazit soubor
@@ -2146,9 +2146,10 @@ class AMDSMICommands():
for key, value in throttle_status.items():
if "active" in key:
throttle_status[key] = "NOT ACTIVE"
if value:
if value is True:
throttle_status[key] = "ACTIVE"
elif value is False:
throttle_status[key] = "NOT ACTIVE"
continue
if "percent" not in key: