Fix binding of VersionManager

Change Ibd8d22dca on stable-2.14 fixed the index start/activate ssh
commands to work with Elasticsearch, but in the merge to stable-2.15
with change I0227ce9f0 it was broken by an incorrect merge conflict
resolution.

Change-Id: I32d34c1a4bd212b6837639d6cf9be1e9b31a9c74
This commit is contained in:
David Pursehouse
2018-04-10 21:59:48 +09:00
parent 5110f5fa43
commit 724574672d
2 changed files with 2 additions and 3 deletions

View File

@@ -82,6 +82,7 @@ public class ElasticIndexModule extends AbstractModule {
} else {
install(new SingleVersionModule(singleVersions));
}
bind(VersionManager.class).to(ElasticVersionManager.class);
}
@Provides
@@ -93,7 +94,6 @@ public class ElasticIndexModule extends AbstractModule {
private class MultiVersionModule extends LifecycleModule {
@Override
public void configure() {
bind(VersionManager.class).to(ElasticVersionManager.class);
listener().to(ElasticVersionManager.class);
if (onlineUpgrade) {
listener().to(OnlineUpgrader.class);