Skip to content

Commit

Permalink
Updated <=0 to < 0 as this will not throw error line 133 lifecycle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelastic committed Dec 27, 2019
1 parent 6393ae2 commit 595ab8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const validatePhase = (type, phase, errors) => {
} else if (
(numberedAttribute === PHASE_ROLLOVER_MINIMUM_AGE ||
numberedAttribute === PHASE_PRIMARY_SHARD_COUNT) &&
phase[numberedAttribute] <= 0
phase[numberedAttribute] < 0
) {
phaseErrors[numberedAttribute] = [positiveNumbersEqualAboveZeroErrorMessage];
}
Expand Down

0 comments on commit 595ab8f

Please sign in to comment.