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 2fc03dc7 authored by Axel Auweter's avatar Axel Auweter
Browse files

Follow-up to #19: Check args before connecting

to the cassandra data store.
parent 4603b723
......@@ -99,26 +99,26 @@ int main(int argc, char* const argv[]) {
*/
signal(SIGINT, sigHandler);
/*
* Allocate and initialize sensor data store.
*/
mySensorDataStore = new SensorDataStore();
/* Parse command line */
char ret;
host="localhost";
while ((ret=getopt(argc, argv, "h:"))!=EOF) {
host="localhost";
while ((ret=getopt(argc, argv, "h:?"))!=EOF) {
switch(ret) {
case 'h':
host = optarg;
break;
case '?':
default:
usage();
exit(EXIT_FAILURE);
case 'h':
host = optarg;
break;
case '?':
default:
usage();
exit(EXIT_FAILURE);
}
}
/*
* Allocate and initialize sensor data store.
*/
mySensorDataStore = new SensorDataStore();
/*
* Start the MQTT Message Server.
*/
......
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