Skip to content

Commit 33c9152

Browse files
committed
Fix syntax errors in get-snapshots docs (elastic#31656)
This is related to elastic#31537. It fixes two syntax errors that are breaking the docs build.
1 parent 71b7e14 commit 33c9152

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ public void testSnapshotGetSnapshots() throws IOException {
470470
// end::get-snapshots-request
471471

472472
// tag::get-snapshots-request-repositoryName
473-
request.repository(repositoryName);
473+
request.repository(repositoryName); // <1>
474474
// end::get-snapshots-request-repositoryName
475475

476476
// tag::get-snapshots-request-snapshots

docs/java-rest/high-level/snapshot/get_snapshots.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ A typical listener for `GetSnapshotsResponse` looks like:
8383

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

0 commit comments

Comments
 (0)