Use Versions.MATCH_ANY rather than NOT_SET now that NOT_SET is gone.
Original commit: elastic/x-pack-elasticsearch@14694aea60
This commit is contained in:
parent
828b1902c5
commit
7a6025784d
|
@ -73,7 +73,7 @@ public class Watch implements TriggerEngine.Job, ToXContent {
|
||||||
|
|
||||||
private final transient AtomicLong nonceCounter = new AtomicLong();
|
private final transient AtomicLong nonceCounter = new AtomicLong();
|
||||||
|
|
||||||
private transient long version = Versions.NOT_SET;
|
private transient long version = Versions.MATCH_ANY;
|
||||||
|
|
||||||
public Watch(String id, Trigger trigger, ExecutableInput input, ExecutableCondition condition, @Nullable ExecutableTransform transform,
|
public Watch(String id, Trigger trigger, ExecutableInput input, ExecutableCondition condition, @Nullable ExecutableTransform transform,
|
||||||
@Nullable TimeValue throttlePeriod, ExecutableActions actions, @Nullable Map<String, Object> metadata,
|
@Nullable TimeValue throttlePeriod, ExecutableActions actions, @Nullable Map<String, Object> metadata,
|
||||||
|
|
Loading…
Reference in New Issue