1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

fix a bug that breaks inventory update stdout when used in a workflow

see: https://github.com/ansible/awx/issues/4920
related: https://github.com/ansible/awx/pull/4731
This commit is contained in:
Ryan Petrello 2019-10-04 13:50:14 -04:00
parent f5358f748e
commit ae0c9ead40
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -619,6 +619,7 @@ class BaseCommandEvent(CreatedModifiedModel):
kwargs.pop('created', None)
sanitize_event_keys(kwargs, cls.VALID_KEYS)
kwargs.pop('workflow_job_id', None)
event = cls.objects.create(**kwargs)
if isinstance(event, AdHocCommandEvent):
analytics_logger.info(