vault-high-availability
Advanced tools
Comparing version 1.0.71 to 1.0.72
@@ -33,3 +33,3 @@ /** | ||
logger.debug("Going to find the vault leader task"); | ||
addressResolver.findActiveIp(callback); | ||
addressResolver.findActiveIp(true); | ||
}); | ||
@@ -36,0 +36,0 @@ |
{ | ||
"name": "vault-high-availability", | ||
"version": "1.0.71", | ||
"version": "1.0.72", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,6 +15,6 @@ 'use strict'; | ||
var findActiveIp = function (callback) { | ||
var findActiveIp = function (forceRun) { | ||
return new Promise(function (generalResolve, generalReject) { | ||
log.info("will look for active ip only if isResolving is false"); | ||
if (!isResolving) { | ||
if (!isResolving || forceRun === true) { | ||
isResolving = true; | ||
@@ -21,0 +21,0 @@ var startResolvingTime = Date.now(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34970