Skip to content

Commit 6e5e6d5

Browse files
authored
Fixing up tidy function validation (#749)
1 parent ada6d5f commit 6e5e6d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecs_composex/elbv2/elbv2_stack/elbv2_listener/lookup_listener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def tidy_targets(self):
140140
)
141141
if (
142142
f"{target_parts.group('family')}:{target_parts.group('container')}"
143-
not in [svc["name"] for svc in self.lb.services]
143+
not in [_family_service for _family_service in self.lb.services]
144144
):
145145
self.definition["Targets"].remove(target)
146146
if not self.definition["Targets"]:

0 commit comments

Comments
 (0)