Skip to content

Commit

Permalink
elb_instance - initial integration tests (ansible-collections#768)
Browse files Browse the repository at this point in the history
elb_instance - initial integration tests

SUMMARY
Rewrite elb_instance (ec2_elb) for boto3
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
elb_instance
ADDITIONAL INFORMATION
fixes: ansible-collections#384

Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: None <None>
  • Loading branch information
tremble authored and abikouo committed Sep 18, 2023
1 parent 4c2e09b commit a57632d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elb_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def _get_instance_lbs(self, ec2_elbs=None):
break

if ec2_elbs:
lbs = sorted(lb for lb in elbs if lb.name in ec2_elbs)
lbs = sorted([lb for lb in elbs if lb.name in ec2_elbs], key=lambda lb: lb.__repr__())
else:
lbs = []
for lb in elbs:
Expand Down

0 comments on commit a57632d

Please sign in to comment.