Skip to content

Commit

Permalink
Fix syntax errors in get-snapshots docs
Browse files Browse the repository at this point in the history
This is related to elastic#31537. It fixes two syntax errors that are breaking
the docs build.
  • Loading branch information
Tim-Brooks committed Jun 28, 2018
1 parent 0b1a064 commit 22eba70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ public void testSnapshotGetSnapshots() throws IOException {
// end::get-snapshots-request

// tag::get-snapshots-request-repositoryName
request.repository(repositoryName);
request.repository(repositoryName); // <1>
// end::get-snapshots-request-repositoryName

// tag::get-snapshots-request-snapshots
Expand Down
2 changes: 1 addition & 1 deletion docs/java-rest/high-level/snapshot/get_snapshots.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ A typical listener for `GetSnapshotsResponse` looks like:

["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests}/SnapshotClientDocumentationIT.java[get-snapshots-execute-listener
include-tagged::{doc-tests}/SnapshotClientDocumentationIT.java[get-snapshots-execute-listener]
--------------------------------------------------
<1> Called when the execution is successfully completed. The response is
provided as an argument.
Expand Down

0 comments on commit 22eba70

Please sign in to comment.