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 {
94
94
} else {
95
95
this .datesAsEpochMillis = DEFAULT_DATES_AS_EPOCH_MILLIS ;
96
96
}
97
- if (in .getVersion ().onOrAfter (Version .CURRENT )) { // TODO: 7.15
97
+ if (in .getVersion ().onOrAfter (Version .V_7_15_0 )) {
98
98
this .interimResults = in .readOptionalInt ();
99
99
} else {
100
100
this .interimResults = DEFAULT_INTERIM_RESULTS ;
@@ -146,7 +146,7 @@ public void writeTo(StreamOutput out) throws IOException {
146
146
if (out .getVersion ().onOrAfter (Version .V_7_11_0 )) {
147
147
out .writeOptionalInt (datesAsEpochMillis );
148
148
}
149
- if (out .getVersion ().onOrAfter (Version .CURRENT )) { // TODO: 7.15
149
+ if (out .getVersion ().onOrAfter (Version .V_7_15_0 )) {
150
150
out .writeOptionalInt (interimResults );
151
151
}
152
152
}
Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ private static TransformConfig applyRewriteForUpdate(Builder builder) {
556
556
}
557
557
558
558
// 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 )) {
560
560
builder .setSettings (
561
561
new SettingsConfig (
562
562
builder .getSettings ().getMaxPageSearchSize (),
You can’t perform that action at this time.
0 commit comments