[ML] Fix scroll size comparison in DatafeedUpdate.isNoop (#41056) (#41079)

Note this does not affect users as the method is only used in tests.
This commit is contained in:
Dimitris Athanasiou 2019-04-11 11:29:51 +03:00 committed by GitHub
parent 999462f460
commit 736c7285d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ public class DatafeedUpdate implements Writeable, ToXContentObject {
&& (queryDelay == null || Objects.equals(queryDelay, datafeed.getQueryDelay()))
&& (indices == null || Objects.equals(indices, datafeed.getIndices()))
&& (queryProvider == null || Objects.equals(queryProvider.getQuery(), datafeed.getQuery()))
&& (scrollSize == null || Objects.equals(scrollSize, datafeed.getQueryDelay()))
&& (scrollSize == null || Objects.equals(scrollSize, datafeed.getScrollSize()))
&& (aggProvider == null || Objects.equals(aggProvider.getAggs(), datafeed.getAggregations()))
&& (scriptFields == null || Objects.equals(scriptFields, datafeed.getScriptFields()))
&& (delayedDataCheckConfig == null || Objects.equals(delayedDataCheckConfig, datafeed.getDelayedDataCheckConfig()))