Fix error in documentation for activete watch

This commit is contained in:
iverase 2018-10-04 16:11:43 +02:00
parent 3ccfc3de58
commit f1f0687b57
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}