mirror of https://github.com/apache/druid.git
fix strategy check in indexing coordinator
This commit is contained in:
parent
5859599365
commit
e668660a9c
|
@ -480,7 +480,7 @@ public class IndexerCoordinatorNode
|
||||||
),
|
),
|
||||||
configFactory.build(EC2AutoScalingStrategyConfig.class)
|
configFactory.build(EC2AutoScalingStrategyConfig.class)
|
||||||
);
|
);
|
||||||
} else if (config.getStorageImpl().equalsIgnoreCase("noop")) {
|
} else if (config.getStrategyImpl().equalsIgnoreCase("noop")) {
|
||||||
strategy = new NoopScalingStrategy();
|
strategy = new NoopScalingStrategy();
|
||||||
} else {
|
} else {
|
||||||
throw new ISE("Invalid strategy implementation: %s",config.getStrategyImpl());
|
throw new ISE("Invalid strategy implementation: %s",config.getStrategyImpl());
|
||||||
|
|
Loading…
Reference in New Issue