remove discover.zen.ping_timeout setting from master

This commit is contained in:
Spencer Alger
2015-06-09 14:35:04 -07:00
parent 38b65d4565
commit 0148b541b0

View File

@ -51,8 +51,13 @@ function setConfig(ref, target) {
break;
}
target.options = _.merge({}, defaultOpts, target.options);
if (minorV === 'master') {
delete target.options.config['discovery.zen.ping_timeout'];
}
if (target.options.branch && !target.options.version) {
target.options.fresh = true;
}