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 a77e773d authored by Michael Ott's avatar Michael Ott
Browse files

Fix command line parameters in collect agent

parent bd5d71ff
......@@ -205,7 +205,7 @@ void usage() {
012345678901234567890123456789012345678901234567890123456789012345678901234567890
*/
cout << "Usage:" << endl;
cout << " collectagent [-m<host>] [-r<host>] [-c<host>] [-t<ttl>] [-d] [-s]" << endl;
cout << " collectagent [-m<host>] [-r<host>] [-c<host>] [-u<username>] [-p<password>] [-t<ttl>] [-d] [-s]" << endl;
cout << " collectagent -h" << endl;
cout << endl;
......@@ -250,11 +250,14 @@ int main(int argc, char* const argv[]) {
ttl = "0";
statistics = false;
while ((ret=getopt(argc, argv, "l:c:u:p:t:r:dDsh"))!=-1) {
while ((ret=getopt(argc, argv, "m:r:c:u:p:t:dDsh"))!=-1) {
switch(ret) {
case 'l':
case 'm':
listenHost = optarg;
break;
case 'r':
restApiHost = optarg;
break;
case 'c':
cassandraHost = optarg;
break;
......@@ -273,9 +276,6 @@ int main(int argc, char* const argv[]) {
case 't':
ttl = optarg;
break;
case 'r':
restApiHost = optarg;
break;
case 'd':
case 'D':
dcdbdaemon();
......
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