mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 12:10:06 -03:30
remove group_by from inventory source
* Does not remove group_by testing
This commit is contained in:
committed by
Ryan Petrello
parent
e11040f421
commit
7278e7c025
@@ -122,12 +122,6 @@ class Metadata(metadata.SimpleMetadata):
|
||||
get_regions = getattr(InventorySource, 'get_%s_region_choices' % cp)
|
||||
field_info['%s_region_choices' % cp] = get_regions()
|
||||
|
||||
# Special handling of group_by choices for EC2.
|
||||
if field.field_name == 'group_by':
|
||||
for cp in ('ec2',):
|
||||
get_group_by_choices = getattr(InventorySource, 'get_%s_group_by_choices' % cp)
|
||||
field_info['%s_group_by_choices' % cp] = get_group_by_choices()
|
||||
|
||||
# Special handling of notification configuration where the required properties
|
||||
# are conditional on the type selected.
|
||||
if field.field_name == 'notification_configuration':
|
||||
|
||||
Reference in New Issue
Block a user