summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-06-01 05:04:45 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-06-01 05:04:45 +0000
commit9bc2ca3f7f62f577f47c858e5e2e96429073753d (patch)
treeee2f74c17a32e23cac66edbcad1bfd2480e59457 /config
parentb16719046a0b9573a6854c4282894079e9038954 (diff)
Return after logging error message.
Diffstat (limited to 'config')
-rw-r--r--config/src/vespa/config/frt/frtsource.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/src/vespa/config/frt/frtsource.cpp b/config/src/vespa/config/frt/frtsource.cpp
index 4bb8a8a3611..15aa52c6463 100644
--- a/config/src/vespa/config/frt/frtsource.cpp
+++ b/config/src/vespa/config/frt/frtsource.cpp
@@ -53,6 +53,7 @@ FRTSource::getConfig()
Connection * connection = _connectionFactory->getCurrent();
if (connection == nullptr) {
LOG(warning, "No connection available - bad config ?");
+ return;
}
const ConfigState & state(_agent->getConfigState());
// LOG(debug, "invoking request with md5 %s, gen %" PRId64 ", servertimeout(%" PRId64 "), client(%f)", state.md5.c_str(), state.generation, serverTimeout, clientTimeout);