bkyryliuk commented on a change in pull request #10605:
URL:
https://github.com/apache/incubator-superset/pull/10605#discussion_r479564492
##########
File path: superset/tasks/schedules.py
##########
@@ -539,15 +540,17 @@ def schedule_alert_query( # pylint:
disable=unused-argument
return
if report_type == ScheduleType.alert:
+ # Immediately deliver alert if recipients or slack_channel
arguments
+ # are given. These are given when a test alert is sent
if recipients or slack_channel:
- deliver_alert(schedule.id, recipients, slack_channel)
+ deliver_alert(
Review comment:
s/deliver_alert/evaluate_alert ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]