mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
f48791e8bc
commit
961c076e72
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ def find_asgs(conn, module, name=None, tags=None):
|
|||
name_prog = re.compile(r'^' + name)
|
||||
for asg in asgs['AutoScalingGroups']:
|
||||
if name:
|
||||
matched_name = name_prog.search(asg['auto_scaling_group_name'])
|
||||
matched_name = name_prog.search(asg['AutoScalingGroupName'])
|
||||
else:
|
||||
matched_name = True
|
||||
|
||||
|
|
Loading…
Reference in a new issue