Skip to content

Commit f8627ba

Browse files
Change the NodeFeature to snapshots.get.state_parameter
1 parent 757726b commit f8627ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/snapshot.get/10_basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ setup:
307307
---
308308
"Get snapshot using state parameter":
309309
- requires:
310-
cluster_features: "get.snapshots.state_parameter"
310+
cluster_features: "snapshots.get.state_parameter"
311311
test_runner_features: capabilities
312312
capabilities:
313313
- method: GET

server/src/main/java/org/elasticsearch/rest/action/admin/cluster/GetSnapshotsFeatures.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import java.util.Set;
1616

1717
public class GetSnapshotsFeatures implements FeatureSpecification {
18-
public static final NodeFeature GET_SNAPSHOTS_STATE_PARAMETER = new NodeFeature("get.snapshots.state_parameter");
18+
public static final NodeFeature GET_SNAPSHOTS_STATE_PARAMETER = new NodeFeature("snapshots.get.state_parameter");
1919

2020
@Override
2121
public Set<NodeFeature> getFeatures() {

0 commit comments

Comments
 (0)