mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
Fix missing .all() from active flag filter nuke
This commit is contained in:
parent
16475dd973
commit
dde2e66a2f
@ -821,7 +821,7 @@ class Command(NoArgsCommand):
|
||||
db_groups = self.inventory_source.group.all_children
|
||||
else:
|
||||
db_groups = self.inventory.groups
|
||||
for db_group in db_groups:
|
||||
for db_group in db_groups.all():
|
||||
# Delete child group relationships not present in imported data.
|
||||
db_children = db_group.children
|
||||
db_children_name_pk_map = dict(db_children.values_list('name', 'pk'))
|
||||
|
Loading…
Reference in New Issue
Block a user