mirror of
https://github.com/ansible/awx.git
synced 2026-05-03 15:45:28 -02:30
Merge pull request #2677 from ryanpetrello/non-exclusive-policy-instance-list
make InstanceGroup.policy_instance_list non-exclusive by default
This commit is contained in:
@@ -4617,7 +4617,7 @@ class InstanceSerializer(BaseSerializer):
|
||||
read_only_fields = ('uuid', 'hostname', 'version')
|
||||
fields = ("id", "type", "url", "related", "uuid", "hostname", "created", "modified", 'capacity_adjustment',
|
||||
"version", "capacity", "consumed_capacity", "percent_capacity_remaining", "jobs_running", "jobs_total",
|
||||
"cpu", "memory", "cpu_capacity", "mem_capacity", "enabled")
|
||||
"cpu", "memory", "cpu_capacity", "mem_capacity", "enabled", "managed_by_policy")
|
||||
|
||||
def get_related(self, obj):
|
||||
res = super(InstanceSerializer, self).get_related(obj)
|
||||
|
||||
Reference in New Issue
Block a user