Alerting add TODO

Original commit: elastic/x-pack-elasticsearch@23cf5fce8b
This commit is contained in:
Brian Murphy 2014-08-18 12:22:13 +01:00
parent 418b9f1a31
commit 14d0bcd589
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ public class AlertScheduler extends AbstractLifecycleComponent {
DateTime scheduledTime = new DateTime(jobExecutionContext.getScheduledFireTime());
if (!alert.enabled()) {
logger.warn("Alert [{}] is not enabled", alertName);
return;
}
try {
if (!alertManager.claimAlertRun(alertName, scheduledTime) ){