summaryrefslogtreecommitdiffstats
path: root/filedistribution
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-01-18 17:35:08 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-01-18 17:35:08 +0100
commit28f075f523c6b70f6148819dc13b50ae6e513880 (patch)
tree60ca1f214e84df056eff32746159a38c71220511 /filedistribution
parent89235f1c0ac5a187ef36099d3d788068d331f48b (diff)
allowDNSFailure -> ignoreDNSFailure
Diffstat (limited to 'filedistribution')
-rw-r--r--filedistribution/src/vespa/filedistribution/model/zkfacade.cpp4
-rw-r--r--filedistribution/src/vespa/filedistribution/model/zkfacade.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp b/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
index ea620a37bfd..2400eae9eb7 100644
--- a/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
+++ b/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
@@ -302,8 +302,8 @@ ZKFacade::invokeWatcher(void* watcherContext) {
/********** End live watchers ***************************************/
std::string
-ZKFacade::getValidZKServers(const std::string &input, bool allowDNSFailure) {
- if (allowDNSFailure) {
+ZKFacade::getValidZKServers(const std::string &input, bool ignoreDNSFailure) {
+ if (ignoreDNSFailure) {
vespalib::StringTokenizer tokenizer(input, ",");
vespalib::string validServers;
for (vespalib::string spec : tokenizer) {
diff --git a/filedistribution/src/vespa/filedistribution/model/zkfacade.h b/filedistribution/src/vespa/filedistribution/model/zkfacade.h
index 8d7d8cca0eb..d3686d29a4b 100644
--- a/filedistribution/src/vespa/filedistribution/model/zkfacade.h
+++ b/filedistribution/src/vespa/filedistribution/model/zkfacade.h
@@ -105,7 +105,7 @@ public:
return _retriesEnabled;
}
- static std::string getValidZKServers(const std::string &input, bool allowDNSFailure);
+ static std::string getValidZKServers(const std::string &input, bool ignoreDNSFailure);
private:
class RegistrationGuard {