Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/java-rest/high-level/script/delete_script.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
--------------------------------------------------
Expand All @@ -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
<1> Indicates whether all of the nodes have acknowledged the request