Add get stored script and delete stored script to high level REST API - post backport fix

Relates to #27205
This commit is contained in:
Vladimir Dolzhenko 2018-06-19 14:21:11 +02:00
parent 04e4e44409
commit 2396cbd449
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ public class GetStoredScriptResponse extends ActionResponse implements StatusToX
source = null;
}
if (in.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) {
if (in.getVersion().onOrAfter(Version.V_6_4_0)) {
id = in.readString();
}
}
@ -143,7 +143,7 @@ public class GetStoredScriptResponse extends ActionResponse implements StatusToX
out.writeString(source.getSource());
}
}
if (out.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) {
if (out.getVersion().onOrAfter(Version.V_6_4_0)) {
out.writeString(id);
}
}