mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Include host name in the job event serializer
This commit is contained in:
parent
e4afaeb2a6
commit
44bb12c5c3
@ -1329,7 +1329,7 @@ class JobEventSerializer(BaseSerializer):
|
||||
model = JobEvent
|
||||
fields = ('*', '-name', '-description', 'job', 'event',
|
||||
'event_display', 'event_data', 'event_level', 'failed',
|
||||
'changed', 'host', 'parent', 'play', 'task', 'role')
|
||||
'changed', 'host', 'host_name', 'parent', 'play', 'task', 'role')
|
||||
|
||||
def get_related(self, obj):
|
||||
res = super(JobEventSerializer, self).get_related(obj)
|
||||
|
Loading…
Reference in New Issue
Block a user