From 78fa5e9cf166594002f275f2346330dba79093b0 Mon Sep 17 00:00:00 2001 From: Ivan Brusic Date: Fri, 26 Mar 2021 09:08:27 -0700 Subject: [PATCH] [DOCS] Fix typos in HLRC delete stored script API (#70897) --- docs/java-rest/high-level/script/delete_script.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/java-rest/high-level/script/delete_script.asciidoc b/docs/java-rest/high-level/script/delete_script.asciidoc index 79b3b0b324715..fe146ece579f1 100644 --- a/docs/java-rest/high-level/script/delete_script.asciidoc +++ b/docs/java-rest/high-level/script/delete_script.asciidoc @@ -58,7 +58,7 @@ completed the `ActionListener` is called back using the `onResponse` method if the execution successfully completed or using the `onFailure` method if it failed. -A typical listener for `DeleteStoredScriptResponse` looks like: +A typical listener for `AcknowledgedResponse` looks like: ["source","java",subs="attributes,callouts,macros"] -------------------------------------------------- @@ -71,11 +71,11 @@ provided as an argument [[java-rest-high-delete-stored-script-response]] ==== Delete Stored Script Response -The returned `DeleteStoredScriptResponse` allows to retrieve information about the +The returned `AcknowledgedResponse` allows to retrieve information about the executed operation as follows: ["source","java",subs="attributes,callouts,macros"] -------------------------------------------------- include-tagged::{doc-tests}/StoredScriptsDocumentationIT.java[delete-stored-script-response] -------------------------------------------------- -<1> Indicates whether all of the nodes have acknowledged the request \ No newline at end of file +<1> Indicates whether all of the nodes have acknowledged the request