File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/action/admin/cluster/snapshots/restore Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ public RestoreSnapshotRequest(StreamInput in) throws IOException {
199199 if (in .getVersion ().onOrAfter (Version .V_2_18_0 )) {
200200 renameAliasReplacement = in .readOptionalString ();
201201 }
202- if (in .getVersion ().onOrAfter (Version .V_3_0_0 )) {
202+ if (in .getVersion ().onOrAfter (Version .V_3_3_0 )) {
203203 aliasWriteIndexPolicy = in .readEnum (AliasWriteIndexPolicy .class );
204204 aliasSuffix = in .readOptionalString ();
205205 }
@@ -236,7 +236,7 @@ public void writeTo(StreamOutput out) throws IOException {
236236 if (out .getVersion ().onOrAfter (Version .V_2_18_0 )) {
237237 out .writeOptionalString (renameAliasReplacement );
238238 }
239- if (out .getVersion ().onOrAfter (Version .V_3_0_0 )) {
239+ if (out .getVersion ().onOrAfter (Version .V_3_3_0 )) {
240240 out .writeEnum (aliasWriteIndexPolicy );
241241 out .writeOptionalString (aliasSuffix );
242242 }
You can’t perform that action at this time.
0 commit comments