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:
parent
050fbc8f3d
commit
3fce13fd28
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue