We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1836da8 commit f26454dCopy full SHA for f26454d
client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/WatcherDocumentationIT.java
@@ -204,9 +204,9 @@ public void onFailure(Exception e) {
204
GetWatchRequest request = new GetWatchRequest("my_watch_id");
205
//end::get-watch-request
206
207
- //tag::ack-watch-execute
+ //tag::get-watch-execute
208
GetWatchResponse response = client.watcher().getWatch(request, RequestOptions.DEFAULT);
209
- //end::get-watch-request
+ //end::get-watch-execute
210
211
//tag::get-watch-response
212
String watchId = response.getId(); // <1>
0 commit comments