mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
AC-585 Added totals fields to inventory group tree.
This commit is contained in:
parent
1068e190cb
commit
44a2bd72bd
@ -588,7 +588,8 @@ class GroupTreeSerializer(GroupSerializer):
|
||||
class Meta:
|
||||
model = Group
|
||||
fields = BASE_FIELDS + ('inventory', 'variables', 'has_active_failures',
|
||||
'hosts_with_active_failures',
|
||||
'total_hosts', 'hosts_with_active_failures',
|
||||
'total_groups', 'groups_with_active_failures',
|
||||
'has_inventory_sources', 'children')
|
||||
|
||||
def get_children(self, obj):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user