File tree Expand file tree Collapse file tree
server/src/main/java/org/opensearch
action/admin/cluster/snapshots/status Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1194,7 +1194,7 @@ public static void registerExceptions() {
11941194 org .opensearch .snapshots .TooManyShardsInSnapshotsStatusException .class ,
11951195 org .opensearch .snapshots .TooManyShardsInSnapshotsStatusException ::new ,
11961196 175 ,
1197- CURRENT
1197+ V_2_17_0
11981198 )
11991199 );
12001200 registerExceptionHandle (
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public SnapshotsStatusRequest(StreamInput in) throws IOException {
9090 repository = in .readString ();
9191 snapshots = in .readStringArray ();
9292 ignoreUnavailable = in .readBoolean ();
93- if (in .getVersion ().onOrAfter (Version .CURRENT )) {
93+ if (in .getVersion ().onOrAfter (Version .V_2_17_0 )) {
9494 indices = in .readOptionalStringArray ();
9595 }
9696 }
@@ -101,7 +101,7 @@ public void writeTo(StreamOutput out) throws IOException {
101101 out .writeString (repository );
102102 out .writeStringArray (snapshots );
103103 out .writeBoolean (ignoreUnavailable );
104- if (out .getVersion ().onOrAfter (Version .CURRENT )) {
104+ if (out .getVersion ().onOrAfter (Version .V_2_17_0 )) {
105105 out .writeOptionalStringArray (indices );
106106 }
107107 }
You can’t perform that action at this time.
0 commit comments