mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 21:07:39 -02:30
Merge pull request #8307 from ryanpetrello/wf-approval-delete
fix a bug that prevents deletion of workflow approval records Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -776,6 +776,10 @@ class WorkflowApproval(UnifiedJob, JobNotificationMixin):
|
|||||||
self.send_approval_notification('running')
|
self.send_approval_notification('running')
|
||||||
return can_start
|
return can_start
|
||||||
|
|
||||||
|
@property
|
||||||
|
def event_processing_finished(self):
|
||||||
|
return True
|
||||||
|
|
||||||
def send_approval_notification(self, approval_status):
|
def send_approval_notification(self, approval_status):
|
||||||
from awx.main.tasks import send_notifications # avoid circular import
|
from awx.main.tasks import send_notifications # avoid circular import
|
||||||
if self.workflow_job_template is None:
|
if self.workflow_job_template is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user