Alerting add TODO
Original commit: elastic/x-pack-elasticsearch@23cf5fce8b
This commit is contained in:
parent
418b9f1a31
commit
14d0bcd589
|
@ -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) ){
|
||||
|
|
Loading…
Reference in New Issue