mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
missed a file on linting
This commit is contained in:
parent
80c15e286f
commit
659853dcea
@ -1884,7 +1884,7 @@ class HostSerializer(BaseSerializerWithVariables):
|
||||
)
|
||||
)
|
||||
if obj.inventory.kind == 'constructed':
|
||||
res['original_host'] = self.reverse('api:host_detail', kwargs={'pk': obj.instance_id })
|
||||
res['original_host'] = self.reverse('api:host_detail', kwargs={'pk': obj.instance_id})
|
||||
if obj.inventory:
|
||||
res['inventory'] = self.reverse('api:inventory_detail', kwargs={'pk': obj.inventory.pk})
|
||||
if obj.last_job:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user