diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java index 7ef0c0351ec..51429bd5871 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java @@ -243,6 +243,7 @@ public class XPackPlugin extends XPackClientPlugin implements ExtensiblePlugin, if (transportClientMode) { modules.add(b -> b.bind(XPackLicenseState.class).toProvider(Providers.of(null))); + } else { modules.add(b -> bindFeatureSet(b, FrozenIndicesFeatureSet.class)); } return modules;