File tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/plugins
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ public PluginInfo(final StreamInput in) throws IOException {
215
215
this .customFolderName = in .readString ();
216
216
this .extendedPlugins = in .readStringList ();
217
217
this .hasNativeController = in .readBoolean ();
218
- if (in .getVersion ().onOrAfter (Version .V_3_0_0 )) {
218
+ if (in .getVersion ().onOrAfter (Version .V_2_19_0 )) {
219
219
this .optionalExtendedPlugins = in .readStringList ();
220
220
} else {
221
221
this .optionalExtendedPlugins = new ArrayList <>();
@@ -250,7 +250,7 @@ This works for currently supported range notations (=,~)
250
250
}
251
251
out .writeStringCollection (extendedPlugins );
252
252
out .writeBoolean (hasNativeController );
253
- if (out .getVersion ().onOrAfter (Version .V_3_0_0 )) {
253
+ if (out .getVersion ().onOrAfter (Version .V_2_19_0 )) {
254
254
out .writeStringCollection (optionalExtendedPlugins );
255
255
}
256
256
}
You can’t perform that action at this time.
0 commit comments