mirror of
https://github.com/ansible/awx.git
synced 2026-06-29 02:18:01 -02:30
Drop assignment of job event parent in favor of parent_uuid
* This eliminates the save lookup of the parent job event and associated memcached call(s) * Removes some other legacy parent determination mechanisms * Alternate way to query for the parent/child relationship
This commit is contained in:
@@ -2503,8 +2503,8 @@ class JobEventSerializer(BaseSerializer):
|
||||
model = JobEvent
|
||||
fields = ('*', '-name', '-description', 'job', 'event', 'counter',
|
||||
'event_display', 'event_data', 'event_level', 'failed',
|
||||
'changed', 'uuid', 'host', 'host_name', 'parent', 'playbook',
|
||||
'play', 'task', 'role', 'stdout', 'start_line', 'end_line',
|
||||
'changed', 'uuid', 'parent_uuid', 'host', 'host_name', 'parent',
|
||||
'playbook', 'play', 'task', 'role', 'stdout', 'start_line', 'end_line',
|
||||
'verbosity')
|
||||
|
||||
def get_related(self, obj):
|
||||
|
||||
Reference in New Issue
Block a user