Skip to content

Commit

Permalink
[Rollups] Fix rollup job wizard bug: coerce histogram interval to Num…
Browse files Browse the repository at this point in the history
…ber for validation. (#27413) (#27460)
  • Loading branch information
cjcenizal authored Dec 19, 2018
1 parent 2a67310 commit ff0089c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function validateHistogramInterval(histogram, histogramInterval) {
)];
}

if (Math.round(histogramInterval) !== histogramInterval) {
if (Math.round(histogramInterval) !== Number(histogramInterval)) {
return [(
<FormattedMessage
id="xpack.rollupJobs.create.errors.histogramIntervalWholeNumber"
Expand Down

0 comments on commit ff0089c

Please sign in to comment.