We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 958891e commit b4f28d4Copy full SHA for b4f28d4
client/rest-high-level/src/main/java/org/elasticsearch/client/SnapshotRequestConverters.java
@@ -130,7 +130,7 @@ static Request cloneSnapshot(CloneSnapshotRequest cloneSnapshotRequest) throws I
130
131
static Request getSnapshots(GetSnapshotsRequest getSnapshotsRequest) {
132
RequestConverters.EndpointBuilder endpointBuilder = new RequestConverters.EndpointBuilder().addPathPartAsIs("_snapshot")
133
- .addPathPart(getSnapshotsRequest.repository());
+ .addCommaSeparatedPathParts(getSnapshotsRequest.repositories());
134
String endpoint;
135
if (getSnapshotsRequest.snapshots().length == 0) {
136
endpoint = endpointBuilder.addPathPart("_all").build();
0 commit comments