fix strategy check in indexing coordinator

This commit is contained in:
Fangjin Yang 2012-11-09 15:48:26 -08:00
parent 5859599365
commit e668660a9c
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ public class IndexerCoordinatorNode
),
configFactory.build(EC2AutoScalingStrategyConfig.class)
);
} else if (config.getStorageImpl().equalsIgnoreCase("noop")) {
} else if (config.getStrategyImpl().equalsIgnoreCase("noop")) {
strategy = new NoopScalingStrategy();
} else {
throw new ISE("Invalid strategy implementation: %s",config.getStrategyImpl());