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 38bfdf30 authored by Alessio Netti's avatar Alessio Netti
Browse files

Minor warning fixes

- Fixing a few warnings here and there in the tools subdirectory
parent 787db53b
......@@ -33,6 +33,7 @@
class UserAction
{
public:
virtual ~UserAction() {}
virtual void printHelp(int argc, char* argv[]) = 0;
virtual int executeCommand(int argc, char* argv[], int argvidx, const char* hostname) = 0;
};
......
......@@ -213,7 +213,7 @@ int main(int argc, char** argv)
for (it = sensors.begin(); it != sensors.end(); it++) {
std::cout << it->name << " " << it->topic << " " << it->publicName << std::endl;
sensorConfig.publishSensor(it->publicName.c_str(), it->topic.c_str());
}
} */
/* Disconnect */
delete connection;
......
......@@ -95,6 +95,8 @@ void DCDBQuery::genOutput(std::list<DCDB::SensorDataStoreReading> &results, quer
case DCDB_OP_INTEGRAL:
std::cout << ",Integral";
break;
default:
break;
}
if(it->second.unit != DCDB::Unit_None) {
std::cout << " (" << DCDB::UnitConv::toString(it->second.unit) << ")";
......@@ -161,6 +163,8 @@ void DCDBQuery::genOutput(std::list<DCDB::SensorDataStoreReading> &results, quer
std::cout << ",";
}
break;}
default:
break;
}
} else {
std::cout << ",";
......@@ -192,8 +196,8 @@ void DCDBQuery::doQuery(const char* hostname, std::list<std::string> sensors, DC
std::string sensorName;
std::string functName;
std::string modifierStr;
double scalingFactor = 1.0;
DCDB::Unit unit = DCDB::Unit_None;
//double scalingFactor = 1.0;
//DCDB::Unit unit = DCDB::Unit_None;
/* Retrieve sensor object first */
std::string str = *it;
......
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