LOGGER.info(msg);
throw new FeatureNotEnabledException(msg);
}
String prop = NS + "terminateOndemand.enabled";
if (cfg.getBool(prop)) {
InstanceGroup group = findInstanceGroup(type, name);
if (group == null) {
throw new InstanceGroupNotFoundException(type, name);
}
Collection<String> instances = context().chaosInstanceSelector().select(group, 1.0);
Validate.isTrue(instances.size() <= 1);