Comparing version 1.1.2 to 1.1.3
@@ -75,2 +75,3 @@ /* | ||
mod_assert.object(options.recovery, 'options.recovery'); | ||
mod_utils.assertRecoverySet(options.recovery); | ||
this.p_recovery = options.recovery; | ||
@@ -77,0 +78,0 @@ |
@@ -44,2 +44,3 @@ /* | ||
mod_assert.object(options.recovery, 'options.recovery'); | ||
mod_utils.assertRecoverySet(options.recovery); | ||
this.cs_recovery = options.recovery; | ||
@@ -46,0 +47,0 @@ |
@@ -12,3 +12,4 @@ /* | ||
planRebalance: planRebalance, | ||
assertRecovery: assertRecovery | ||
assertRecovery: assertRecovery, | ||
assertRecoverySet: assertRecoverySet | ||
}; | ||
@@ -18,2 +19,10 @@ | ||
function assertRecoverySet(obj) { | ||
mod_assert.object(obj, 'recovery'); | ||
var keys = Object.keys(obj); | ||
keys.forEach(function (k) { | ||
assertRecovery(obj[k], 'recovery.' + k); | ||
}); | ||
} | ||
function assertRecovery(obj, name) { | ||
@@ -20,0 +29,0 @@ if (name === undefined) |
{ | ||
"name": "cueball", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
145218
3436