From 0753571e56dcca0fab609e7cef5aa432c25c19a0 Mon Sep 17 00:00:00 2001 From: George Sedov <george.sedov@desy.de> Date: Fri, 21 Oct 2022 19:05:52 +0200 Subject: [PATCH] that was embarrassing :( --- .gitlab-ci.yml | 2 +- receiver/src/main.cpp | 2 +- receiver/src/receiver_config.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7273fbdd0..c670387ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,7 +39,7 @@ build-services-linux-debug: tags: - kubernetes-executor rules: - - when: on_success + - when: never artifacts: paths: - build diff --git a/receiver/src/main.cpp b/receiver/src/main.cpp index 505b298c2..5f7ca1412 100644 --- a/receiver/src/main.cpp +++ b/receiver/src/main.cpp @@ -96,7 +96,7 @@ int StartReceiver(const asapo::ReceiverConfig* config, asapo::SharedCache cache, logger->Info("listening on " + address); if (!config->dataserver.advertise_ib_uri.empty()) { - logger->Info("additional ib " + address); + logger->Info("additional ib " + config->dataserver.advertise_ib_uri); } asapo::Error err; diff --git a/receiver/src/receiver_config.cpp b/receiver/src/receiver_config.cpp index be071fc0d..3c8adf371 100644 --- a/receiver/src/receiver_config.cpp +++ b/receiver/src/receiver_config.cpp @@ -77,6 +77,7 @@ Error ReceiverConfigManager::ReadConfigFromFile(std::string file_name) { hostname_ib += "-ib"; } + config.dataserver.advertise_ib_uri = hostname_ib + ": "; struct addrinfo *result; if (getaddrinfo(hostname_ib.c_str(), NULL, NULL, &result) == 0) { char addr_ib[INET_ADDRSTRLEN + 1]; -- GitLab