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…
Reference in New Issue