diff options
Diffstat (limited to 'slobrok')
-rw-r--r-- | slobrok/src/vespa/slobrok/server/sbenv.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/slobrok/src/vespa/slobrok/server/sbenv.cpp b/slobrok/src/vespa/slobrok/server/sbenv.cpp index 2528c830706..40b9886685a 100644 --- a/slobrok/src/vespa/slobrok/server/sbenv.cpp +++ b/slobrok/src/vespa/slobrok/server/sbenv.cpp @@ -232,12 +232,8 @@ SBEnv::setup(const std::vector<std::string> &cfg) } } for (uint32_t i = 0; i < oldList.size(); ++i) { - OkState res = removePeer(oldList[i], oldList[i]); - if (!res.ok()) { - LOG(warning, "could not remove peer %s: %s", oldList[i].c_str(), res.errorMsg.c_str()); - } else { - LOG(config, "removed peer %s", oldList[i].c_str()); - } + _exchanger.removePartner(oldList[i]); + LOG(config, "removed peer %s", oldList[i].c_str()); } int64_t curGen = _configurator->getGeneration(); vespalib::ComponentConfigProducer::Config current("slobroks", curGen, "ok"); |