File tree 1 file changed +2
-2
lines changed
server/src/main/java/org/elasticsearch/action/admin/indices/mapping/put
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ public void readFrom(StreamInput in) throws IOException {
312
312
in .readBoolean (); // updateAllTypes
313
313
}
314
314
concreteIndex = in .readOptionalWriteable (Index ::new );
315
- if (in .getVersion ().onOrAfter (Version .V_7_0_0 )) {
315
+ if (in .getVersion ().onOrAfter (Version .V_6_7_0 )) {
316
316
origin = in .readOptionalString ();
317
317
} else {
318
318
origin = null ;
@@ -330,7 +330,7 @@ public void writeTo(StreamOutput out) throws IOException {
330
330
out .writeBoolean (true ); // updateAllTypes
331
331
}
332
332
out .writeOptionalWriteable (concreteIndex );
333
- if (out .getVersion ().onOrAfter (Version .V_7_0_0 )) {
333
+ if (out .getVersion ().onOrAfter (Version .V_6_7_0 )) {
334
334
out .writeOptionalString (origin );
335
335
}
336
336
}
You can’t perform that action at this time.
0 commit comments