mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
Merge pull request #4921 from ryanpetrello/ryan-broke-it
fix a bug that breaks inventory update stdout when used in a workflow Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -619,6 +619,7 @@ class BaseCommandEvent(CreatedModifiedModel):
|
|||||||
kwargs.pop('created', None)
|
kwargs.pop('created', None)
|
||||||
|
|
||||||
sanitize_event_keys(kwargs, cls.VALID_KEYS)
|
sanitize_event_keys(kwargs, cls.VALID_KEYS)
|
||||||
|
kwargs.pop('workflow_job_id', None)
|
||||||
event = cls.objects.create(**kwargs)
|
event = cls.objects.create(**kwargs)
|
||||||
if isinstance(event, AdHocCommandEvent):
|
if isinstance(event, AdHocCommandEvent):
|
||||||
analytics_logger.info(
|
analytics_logger.info(
|
||||||
|
|||||||
Reference in New Issue
Block a user