Skip to content
Snippets Groups Projects
Commit 0753571e authored by George Sedov's avatar George Sedov
Browse files

that was embarrassing :(

parent 07929709
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ build-services-linux-debug: ...@@ -39,7 +39,7 @@ build-services-linux-debug:
tags: tags:
- kubernetes-executor - kubernetes-executor
rules: rules:
- when: on_success - when: never
artifacts: artifacts:
paths: paths:
- build - build
......
...@@ -96,7 +96,7 @@ int StartReceiver(const asapo::ReceiverConfig* config, asapo::SharedCache cache, ...@@ -96,7 +96,7 @@ int StartReceiver(const asapo::ReceiverConfig* config, asapo::SharedCache cache,
logger->Info("listening on " + address); logger->Info("listening on " + address);
if (!config->dataserver.advertise_ib_uri.empty()) { if (!config->dataserver.advertise_ib_uri.empty()) {
logger->Info("additional ib " + address); logger->Info("additional ib " + config->dataserver.advertise_ib_uri);
} }
asapo::Error err; asapo::Error err;
......
...@@ -77,6 +77,7 @@ Error ReceiverConfigManager::ReadConfigFromFile(std::string file_name) { ...@@ -77,6 +77,7 @@ Error ReceiverConfigManager::ReadConfigFromFile(std::string file_name) {
hostname_ib += "-ib"; hostname_ib += "-ib";
} }
config.dataserver.advertise_ib_uri = hostname_ib + ": ";
struct addrinfo *result; struct addrinfo *result;
if (getaddrinfo(hostname_ib.c_str(), NULL, NULL, &result) == 0) { if (getaddrinfo(hostname_ib.c_str(), NULL, NULL, &result) == 0) {
char addr_ib[INET_ADDRSTRLEN + 1]; char addr_ib[INET_ADDRSTRLEN + 1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment