mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 18:07:33 -02:30
Add functions in migration file for deleting and altering 'any' state notifications
This commit is contained in:
@@ -243,8 +243,6 @@ class JobNotificationMixin(object):
|
||||
notification_template_type = 'error'
|
||||
all_notification_templates = set(notification_templates.get(notification_template_type, []))
|
||||
if len(all_notification_templates):
|
||||
# if status_str != 'running':
|
||||
# all_notification_templates.update(notification_templates.get('any', []))
|
||||
try:
|
||||
(notification_subject, notification_body) = getattr(self, 'build_notification_%s_message' % status_str)()
|
||||
except AttributeError:
|
||||
|
||||
Reference in New Issue
Block a user