mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-08 03:49:38 +00:00
[TEST] fix typo in get-watch documentation (bis)
This commit is contained in:
parent
26dcbcc8cc
commit
54facbe325
@ -204,9 +204,9 @@ public class WatcherDocumentationIT extends ESRestHighLevelClientTestCase {
|
||||
GetWatchRequest request = new GetWatchRequest("my_watch_id");
|
||||
//end::get-watch-request
|
||||
|
||||
//tag::ack-watch-execute
|
||||
//tag::get-watch-execute
|
||||
GetWatchResponse response = client.watcher().getWatch(request, RequestOptions.DEFAULT);
|
||||
//end::get-watch-request
|
||||
//end::get-watch-execute
|
||||
|
||||
//tag::get-watch-response
|
||||
String watchId = response.getId(); // <1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user