mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 20:37:39 -02:30
Adding awx_ as well as tower_ variable names for webhooks (#11925)
Adding utility to ease testing webhooks from command line Modifying all variables to use a constants list of variable names
This commit is contained in:
@@ -583,7 +583,7 @@ class WebhookMixin(models.Model):
|
||||
if not self.webhook_credential:
|
||||
return
|
||||
|
||||
status_api = self.extra_vars_dict.get('tower_webhook_status_api')
|
||||
status_api = self.extra_vars_dict.get('awx_webhook_status_api')
|
||||
if not status_api:
|
||||
logger.debug("Webhook event did not have a status API endpoint associated, skipping.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user