Fix syntax errors in get-snapshots docs (#31656)

This is related to #31537. It fixes two syntax errors that are breaking
the docs build.
This commit is contained in:
Tim Brooks 2018-06-28 07:40:33 -06:00 committed by Michael Basnight
parent 050fbc8f3d
commit 3fce13fd28
2 changed files with 2 additions and 2 deletions

View File

@ -470,7 +470,7 @@ public class SnapshotClientDocumentationIT extends ESRestHighLevelClientTestCase
// 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

View File

@ -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.