mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 10:57:36 -02:30
HostMetric compliance computation
This commit is contained in:
committed by
John Westcott IV
parent
b18ad77035
commit
05f918e666
@@ -79,6 +79,11 @@ class HostManager(models.Manager):
|
||||
return qs
|
||||
|
||||
|
||||
class HostMetricActiveManager(models.Manager):
|
||||
def get_queryset(self):
|
||||
return super().get_queryset().filter(deleted=False)
|
||||
|
||||
|
||||
def get_ig_ig_mapping(ig_instance_mapping, instance_ig_mapping):
|
||||
# Create IG mapping by union of all groups their instances are members of
|
||||
ig_ig_mapping = {}
|
||||
|
||||
Reference in New Issue
Block a user