Add frozen indices usage for all but transport client (#44286)
Backport gone wrong.
This commit is contained in:
parent
3734356955
commit
d2d40afc02
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue