mirror of
https://github.com/ansible/awx.git
synced 2026-04-25 11:45:22 -02:30
Add a host_name field to JobHostSummary and migrate to it, so we have at
least that information in job data if the host has been removed
This commit is contained in:
@@ -1300,7 +1300,7 @@ class JobHostSummarySerializer(BaseSerializer):
|
||||
|
||||
class Meta:
|
||||
model = JobHostSummary
|
||||
fields = ('*', '-name', '-description', 'job', 'host', 'changed',
|
||||
fields = ('*', '-name', '-description', 'job', 'host', 'host_name', 'changed',
|
||||
'dark', 'failures', 'ok', 'processed', 'skipped', 'failed')
|
||||
|
||||
def get_related(self, obj):
|
||||
|
||||
Reference in New Issue
Block a user