File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
server/src/main/java/org/opensearch
action/admin/cluster/snapshots/status Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1215,7 +1215,7 @@ public static void registerExceptions() {
1215
1215
org .opensearch .snapshots .TooManyShardsInSnapshotsStatusException .class ,
1216
1216
org .opensearch .snapshots .TooManyShardsInSnapshotsStatusException ::new ,
1217
1217
175 ,
1218
- V_3_0_0
1218
+ V_2_17_0
1219
1219
)
1220
1220
);
1221
1221
registerExceptionHandle (
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public SnapshotsStatusRequest(StreamInput in) throws IOException {
78
78
repository = in .readString ();
79
79
snapshots = in .readStringArray ();
80
80
ignoreUnavailable = in .readBoolean ();
81
- if (in .getVersion ().onOrAfter (Version .CURRENT )) {
81
+ if (in .getVersion ().onOrAfter (Version .V_2_17_0 )) {
82
82
indices = in .readOptionalStringArray ();
83
83
}
84
84
}
@@ -89,7 +89,7 @@ public void writeTo(StreamOutput out) throws IOException {
89
89
out .writeString (repository );
90
90
out .writeStringArray (snapshots );
91
91
out .writeBoolean (ignoreUnavailable );
92
- if (out .getVersion ().onOrAfter (Version .CURRENT )) {
92
+ if (out .getVersion ().onOrAfter (Version .V_2_17_0 )) {
93
93
out .writeOptionalStringArray (indices );
94
94
}
95
95
}
You can’t perform that action at this time.
0 commit comments