mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 10:08:10 -03:30
Do not show control instances as option to be associated
Do not show control instances as option to be associated to user defined instance groups. See: https://github.com/ansible/tower/issues/5339
This commit is contained in:
@@ -147,7 +147,10 @@ function InstanceList() {
|
||||
const fetchInstancesToAssociate = useCallback(
|
||||
(params) =>
|
||||
InstancesAPI.read(
|
||||
mergeParams(params, { not__rampart_groups__id: instanceGroupId })
|
||||
mergeParams(params, {
|
||||
...{ not__rampart_groups__id: instanceGroupId },
|
||||
...{ not__node_type: 'control' },
|
||||
})
|
||||
),
|
||||
[instanceGroupId]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user