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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user