PagerDuty PagerdutyNotifier Class Uses a Removed Method and Fails to Send Notifications #45626
Closed
2 tasks done
Labels
area:providers
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
provider:pagerduty
Apache Airflow Provider(s)
pagerduty
Versions of Apache Airflow Providers
apache-airflow-providers-pagerduty 4.0
Apache Airflow version
2.10.4
Operating System
Ubuntu
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
What happened
PagerDuty alerts sent via
PagerdutyNotifier
are not sent. Looking at the source code, it looks like thenotify
method is using thecreate_event
method which no longer exists.What you think should happen instead
As noted in the most recent change log, https://airflow.apache.org/docs/apache-airflow-providers-pagerduty/stable/changelog.html, switch the
create_event
method tosend_event
.How to reproduce
Trigger an alert with
PagerdutyNotifier
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: