File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/elasticsearch/action/admin/indices/mapping/put Expand file tree Collapse file tree 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 {
312312 in .readBoolean (); // updateAllTypes
313313 }
314314 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 )) {
316316 origin = in .readOptionalString ();
317317 } else {
318318 origin = null ;
@@ -330,7 +330,7 @@ public void writeTo(StreamOutput out) throws IOException {
330330 out .writeBoolean (true ); // updateAllTypes
331331 }
332332 out .writeOptionalWriteable (concreteIndex );
333- if (out .getVersion ().onOrAfter (Version .V_7_0_0 )) {
333+ if (out .getVersion ().onOrAfter (Version .V_6_7_0 )) {
334334 out .writeOptionalString (origin );
335335 }
336336 }
You can’t perform that action at this time.
0 commit comments