File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/transform/transforms Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public SettingsConfig(final StreamInput in) throws IOException {
9494 } else {
9595 this .datesAsEpochMillis = DEFAULT_DATES_AS_EPOCH_MILLIS ;
9696 }
97- if (in .getVersion ().onOrAfter (Version .CURRENT )) { // TODO: 7.15
97+ if (in .getVersion ().onOrAfter (Version .V_7_15_0 )) {
9898 this .interimResults = in .readOptionalInt ();
9999 } else {
100100 this .interimResults = DEFAULT_INTERIM_RESULTS ;
@@ -146,7 +146,7 @@ public void writeTo(StreamOutput out) throws IOException {
146146 if (out .getVersion ().onOrAfter (Version .V_7_11_0 )) {
147147 out .writeOptionalInt (datesAsEpochMillis );
148148 }
149- if (out .getVersion ().onOrAfter (Version .CURRENT )) { // TODO: 7.15
149+ if (out .getVersion ().onOrAfter (Version .V_7_15_0 )) {
150150 out .writeOptionalInt (interimResults );
151151 }
152152 }
Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ private static TransformConfig applyRewriteForUpdate(Builder builder) {
556556 }
557557
558558 // 3. set interim_results to true for transforms < 7.15 to keep BWC
559- if (builder .getVersion () != null && builder .getVersion ().before (Version .CURRENT )) { // TODO: 7.15
559+ if (builder .getVersion () != null && builder .getVersion ().before (Version .V_7_15_0 )) {
560560 builder .setSettings (
561561 new SettingsConfig (
562562 builder .getSettings ().getMaxPageSearchSize (),
You can’t perform that action at this time.
0 commit comments