fix bug that Names filter dont work at describe_target_groups
This commit is contained in:
parent
a579280b7a
commit
469cfb7b3e
2 changed files with 7 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ class ELBv2Backend(BaseBackend):
|
|||
matched = []
|
||||
for name in names:
|
||||
found = None
|
||||
for target_group in self.target_groups:
|
||||
for target_group in self.target_groups.values():
|
||||
if target_group.name == name:
|
||||
found = target_group
|
||||
if not found:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue