mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
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…
x
Reference in New Issue
Block a user