Skip to content

Commit c449da8

Browse files
authored
Include hidden indices in DeprecationInfoAction (#118035)
This fixes an issue where the deprecation API wouldn't include hidden indices by default. Resolves #118020
1 parent 0cc08a9 commit c449da8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/changelog/118035.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 118035
2+
summary: Include hidden indices in `DeprecationInfoAction`
3+
area: Indices APIs
4+
type: bug
5+
issues:
6+
- 118020

x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/DeprecationInfoAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ private static ClusterState removeSkippedSettings(ClusterState state, String[] i
366366

367367
public static class Request extends MasterNodeReadRequest<Request> implements IndicesRequest.Replaceable {
368368

369-
private static final IndicesOptions INDICES_OPTIONS = IndicesOptions.fromOptions(false, true, true, true);
369+
private static final IndicesOptions INDICES_OPTIONS = IndicesOptions.fromOptions(false, true, true, true, true);
370370
private String[] indices;
371371

372372
public Request(TimeValue masterNodeTimeout, String... indices) {

0 commit comments

Comments
 (0)