Add frozen indices usage for all but transport client (#44286)

Backport gone wrong.
This commit is contained in:
Yannick Welsch 2019-07-15 20:47:39 +02:00
parent 3734356955
commit d2d40afc02
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ public class XPackPlugin extends XPackClientPlugin implements ExtensiblePlugin,
if (transportClientMode) { if (transportClientMode) {
modules.add(b -> b.bind(XPackLicenseState.class).toProvider(Providers.of(null))); modules.add(b -> b.bind(XPackLicenseState.class).toProvider(Providers.of(null)));
} else {
modules.add(b -> bindFeatureSet(b, FrozenIndicesFeatureSet.class)); modules.add(b -> bindFeatureSet(b, FrozenIndicesFeatureSet.class));
} }
return modules; return modules;