bug: fix bad naming for a scaling parameter.
This commit is contained in:
@@ -119,7 +119,7 @@ class ScalingConfig(MinerConfigValue):
|
|||||||
except LookupError:
|
except LookupError:
|
||||||
return None
|
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:
|
if dps_conf.get("minPowerTarget") is not None:
|
||||||
conf["minimum"] = dps_conf["minPowerTarget"]["watt"]
|
conf["minimum"] = dps_conf["minPowerTarget"]["watt"]
|
||||||
|
|||||||
Reference in New Issue
Block a user