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:
parent
f5358f748e
commit
ae0c9ead40
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user