mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
add a few additional optimizations to the callback receiver
This commit is contained in:
@@ -380,10 +380,11 @@ class BasePlaybookEvent(CreatedModifiedModel):
|
||||
value = force_text(event_data.get(field, '')).strip()
|
||||
if value != getattr(self, field):
|
||||
setattr(self, field, value)
|
||||
analytics_logger.info(
|
||||
'Event data saved.',
|
||||
extra=dict(python_objects=dict(job_event=self))
|
||||
)
|
||||
if settings.LOG_AGGREGATOR_ENABLED:
|
||||
analytics_logger.info(
|
||||
'Event data saved.',
|
||||
extra=dict(python_objects=dict(job_event=self))
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def create_from_data(cls, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user