mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Handle case of deleted inventory
This commit is contained in:
parent
4a455c7bf7
commit
a5e3d9558f
@ -1904,7 +1904,8 @@ class RunJob(BaseTask):
|
||||
except Inventory.DoesNotExist:
|
||||
pass
|
||||
else:
|
||||
update_inventory_computed_fields.delay(inventory.id)
|
||||
if inventory is not None:
|
||||
update_inventory_computed_fields.delay(inventory.id)
|
||||
|
||||
|
||||
@task()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user