Commit e7117c0d authored by Micha Mueller's avatar Micha Mueller
Browse files

Minor improvements to PDUConfigurator

parent 9d4d273f
......@@ -27,8 +27,6 @@ PDUConfigurator::~PDUConfigurator() {
}
std::vector<Sensor*>& PDUConfigurator::readConfig(std::string cfgPath) {
//read template counters
boost::property_tree::iptree cfg;
boost::property_tree::read_info(cfgPath, cfg);
......@@ -104,7 +102,7 @@ std::vector<Sensor*>& PDUConfigurator::readConfig(std::string cfgPath) {
pduSensor->setPdu(&pduUnit);
_sensors.push_back(pduSensor);
} else {
cout << " Counter \"" << sensor.second.data() << "\" has bad values! Ignoring..." << endl;
cout << " Sensor \"" << sensor.second.data() << "\" has bad values! Ignoring..." << endl;
}
}
}
......
Supports Markdown
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