mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
Fix error in documentation for activete watch
This commit is contained in:
parent
3ccfc3de58
commit
f1f0687b57
@ -225,9 +225,9 @@ public class WatcherDocumentationIT extends ESRestHighLevelClientTestCase {
|
||||
ActivateWatchResponse response = client.watcher().activateWatch(request, RequestOptions.DEFAULT);
|
||||
//end::activate-watch-request
|
||||
|
||||
//tag::activate-watch-request
|
||||
//tag::activate-watch-response
|
||||
WatchStatus watchStatus = response.getStatus(); // <1>
|
||||
//end::activate-watch-request
|
||||
//end::activate-watch-response
|
||||
|
||||
assertTrue(watchStatus.state().isActive());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user