Skip to content

Commit d2d40af

Browse files
committed
Add frozen indices usage for all but transport client (#44286)
Backport gone wrong.
1 parent 3734356 commit d2d40af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ public Collection<Module> createGuiceModules() {
243243

244244
if (transportClientMode) {
245245
modules.add(b -> b.bind(XPackLicenseState.class).toProvider(Providers.of(null)));
246+
} else {
246247
modules.add(b -> bindFeatureSet(b, FrozenIndicesFeatureSet.class));
247248
}
248249
return modules;

0 commit comments

Comments
 (0)