bug: fix bad naming for a scaling parameter.

This commit is contained in:
Upstream Data
2024-06-11 08:41:27 -06:00
parent 4698a806f0
commit 7e3e1f19aa

View File

@@ -119,7 +119,7 @@ class ScalingConfig(MinerConfigValue):
except LookupError:
return None
conf = {"shutdown_enabled": ScalingShutdown.from_boser(dps_conf)}
conf = {"shutdown": ScalingShutdown.from_boser(dps_conf)}
if dps_conf.get("minPowerTarget") is not None:
conf["minimum"] = dps_conf["minPowerTarget"]["watt"]