mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
Updating dependency check for jobs, project updates, and inventory updates
This commit is contained in:
@@ -256,9 +256,8 @@ class Job(UnifiedJob, JobOptions):
|
||||
return True
|
||||
return False
|
||||
if type(obj) == InventoryUpdate:
|
||||
for i_s in self.inventory.inventory_sources.filter(active=True):
|
||||
if i_s == obj.inventory_source:
|
||||
return True
|
||||
if self.inventory == obj.inventory_source.inventory:
|
||||
return True
|
||||
return False
|
||||
if type(obj) == ProjectUpdate:
|
||||
if obj.project == self.project:
|
||||
|
||||
Reference in New Issue
Block a user