Skip to content

Commit de4b2a9

Browse files
author
Christoph Büscher
committed
iter
1 parent 48ca811 commit de4b2a9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/RollupDocumentationIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,9 @@ public void testStartRollupJob() throws Exception {
246246
testCreateRollupJob();
247247
RestHighLevelClient client = highLevelClient();
248248

249+
String id = "job_1";
249250
// tag::rollup-start-job-request
250-
StartRollupJobRequest request = new StartRollupJobRequest("job_1"); // <1>
251+
StartRollupJobRequest request = new StartRollupJobRequest(id); // <1>
251252
// end::rollup-start-job-request
252253

253254

docs/java-rest/high-level/rollup/start_job.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ include-tagged::{doc-tests-file}[{api}-request]
2121
[id="{upid}-{api}-response"]
2222
==== Response
2323

24-
The returned +{response}+ indicates if the delete command was received.
24+
The returned +{response}+ indicates if the start command was received.
2525

2626
["source","java",subs="attributes,callouts,macros"]
2727
--------------------------------------------------
2828
include-tagged::{doc-tests-file}[{api}-response]
2929
--------------------------------------------------
30-
<1> Whether or not the delete job request was received.
30+
<1> Whether or not the start job request was received.
3131

3232
include::../execution.asciidoc[]
3333

0 commit comments

Comments
 (0)