Skip to content

Commit

Permalink
15183 aws sns notification default messages
Browse files Browse the repository at this point in the history
Signed-off-by: Ethem Cem Ozkan <[email protected]>
  • Loading branch information
ethemcemozkan committed May 21, 2024
1 parent d0aacc7 commit 7b5e863
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions awx/main/notifications/awssns_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from awx.main.notifications.base import AWXBaseEmailBackend
from awx.main.notifications.custom_notification_base import CustomNotificationBase
from awx.main.notifications.webhook_backend import WebhookBackend

logger = logging.getLogger('awx.main.notifications.awssns_backend')
WEBSOCKET_TIMEOUT = 30
Expand All @@ -26,7 +25,7 @@ class AWSSNSBackend(AWXBaseEmailBackend, CustomNotificationBase):
sender_parameter = None

DEFAULT_BODY = "{{ job_metadata }}"
default_messages = WebhookBackend.default_messages
default_messages = CustomNotificationBase.default_messages

def __init__(self, aws_region, aws_access_key_id, aws_secret_access_key, aws_session_token, fail_silently=False, **kwargs):
session = boto3.session.Session()
Expand Down

0 comments on commit 7b5e863

Please sign in to comment.