s/MinThermalRpm/MinThermalOutput
This variable was changed in pid-control.
Change-Id: I377057910214085043704af4e076f688212113e2
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/redfish-core/lib/managers.hpp b/redfish-core/lib/managers.hpp
index 4072645..d109a19 100644
--- a/redfish-core/lib/managers.hpp
+++ b/redfish-core/lib/managers.hpp
@@ -690,11 +690,11 @@
std::optional<nlohmann::json> chassisContainer;
std::optional<double> failSafePercent;
- std::optional<double> minThermalRpm;
+ std::optional<double> minThermalOutput;
if (!redfish::json_util::readJson(it.value(), response->res, "Chassis",
chassisContainer, "FailSafePercent",
- failSafePercent, "MinThermalRpm",
- minThermalRpm))
+ failSafePercent, "MinThermalOutput",
+ minThermalOutput))
{
BMCWEB_LOG_ERROR << "Line:" << __LINE__ << ", Illegal Property "
<< it.value().dump();
@@ -721,9 +721,9 @@
return CreatePIDRet::fail;
}
}
- if (minThermalRpm)
+ if (minThermalOutput)
{
- output["MinThermalRpm"] = *minThermalRpm;
+ output["MinThermalOutput"] = *minThermalOutput;
}
if (failSafePercent)
{