Add get stored script and delete stored script to high level REST API - post backport fix
Relates to #27205
This commit is contained in:
parent
04e4e44409
commit
2396cbd449
|
@ -123,7 +123,7 @@ public class GetStoredScriptResponse extends ActionResponse implements StatusToX
|
||||||
source = null;
|
source = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (in.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) {
|
if (in.getVersion().onOrAfter(Version.V_6_4_0)) {
|
||||||
id = in.readString();
|
id = in.readString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -143,7 +143,7 @@ public class GetStoredScriptResponse extends ActionResponse implements StatusToX
|
||||||
out.writeString(source.getSource());
|
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);
|
out.writeString(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue