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 51429bd5871..7ef0c0351ec 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,7 +243,6 @@ 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;