parent
e81bbf9b8f
commit
9278cce7d2
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