Skip to content

Commit

Permalink
Set to CURRENT until backport
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Oct 29, 2024
1 parent 5b8c079 commit ddeb16b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/main/java/org/opensearch/plugins/PluginInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public PluginInfo(final StreamInput in) throws IOException {
this.customFolderName = in.readString();
this.extendedPlugins = in.readStringList();
this.hasNativeController = in.readBoolean();
if (in.getVersion().onOrAfter(Version.V_2_19_0)) {
if (in.getVersion().onOrAfter(Version.CURRENT)) {
this.requestedActions = Settings.readSettingsFromStream(in);
} else {
this.requestedActions = Settings.EMPTY;
Expand Down Expand Up @@ -259,7 +259,7 @@ This works for currently supported range notations (=,~)
}
out.writeStringCollection(extendedPlugins);
out.writeBoolean(hasNativeController);
if (out.getVersion().onOrAfter(Version.V_2_19_0)) {
if (out.getVersion().onOrAfter(Version.CURRENT)) {
Settings.writeSettingsToStream(requestedActions, out);
}
}
Expand Down

0 comments on commit ddeb16b

Please sign in to comment.