Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing 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: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 13351bfc authored by Alessio Netti's avatar Alessio Netti
Browse files

Temporarily reverting commit 1a5e05a7

- Sensor/Group overwriting broke CPU sensor instantiation
- Looking for a more robust solution
parent a437efd2
......@@ -426,13 +426,13 @@ class ConfiguratorTemplate : public ConfiguratorInterface {
* @param sGroup Group to store.
*/
void storeSensorGroup(SG_Ptr sGroup) {
for (size_t i = 0; i < _sensorGroups.size(); ++i) {
if (sGroup->getGroupName() == _sensorGroups[i]->getGroupName()) {
_sensorGroups[i] = sGroup;
_sensorGroupInterfaces[i] = sGroup;
return;
}
}
//for (size_t i = 0; i < _sensorGroups.size(); ++i) {
// if (sGroup->getGroupName() == _sensorGroups[i]->getGroupName()) {
// _sensorGroups[i] = sGroup;
// _sensorGroupInterfaces[i] = sGroup;
// return;
// }
//}
_sensorGroups.push_back(sGroup);
_sensorGroupInterfaces.push_back(sGroup);
......
......@@ -191,13 +191,13 @@ class SensorGroupTemplate : public SensorGroupInterface {
virtual void pushBackSensor(SBasePtr s) final override {
//check if dynamic cast returns nullptr
if (S_Ptr dSensor = std::dynamic_pointer_cast<S>(s)) {
for (size_t i = 0; i < _sensors.size(); ++i) {
if (dSensor->getName() == _sensors[i]->getName()) {
_sensors[i] = dSensor;
_baseSensors[i] = s;
return;
}
}
//for (size_t i = 0; i < _sensors.size(); ++i) {
// if (dSensor->getName() == _sensors[i]->getName()) {
// _sensors[i] = dSensor;
// _baseSensors[i] = s;
// return;
// }
//}
_sensors.push_back(dSensor);
_baseSensors.push_back(s);
......
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