The expiration time for new job artifacts in CI/CD pipelines is now 30 days (GitLab default). Previously generated artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information:

Commit feb6f575 authored by Alessio Netti's avatar Alessio Netti
Browse files

Analytics: minor fixes to Cooling Control plugin

parent a39eb306
......@@ -37,9 +37,7 @@ CoolingControlConfigurator::~CoolingControlConfigurator() {}
void CoolingControlConfigurator::sensorBase(CoolingControlSensorBase& s, CFG_VAL config) {
BOOST_FOREACH(boost::property_tree::iptree::value_type &val, config)
if (boost::iequals(val.first, "scaling")) {
} else if (boost::iequals(val.first, "hotThreshold")) {
if (boost::iequals(val.first, "hotThreshold")) {
......@@ -151,7 +151,7 @@ uint64_t CoolingControlOperator::getNumHotNodes(std::vector<std::vector<reading_
if (!readings[idx].empty()) {
bool hotNode = true;
for (const auto &r : readings[idx]) {
if (r.value < unit->getInputs()[idx]->getHotThreshold()) {
if (r.value < (int64_t)unit->getInputs()[idx]->getHotThreshold()) {
hotNode = false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment