Skip to content

Commit a49ba40

Browse files
authored
fix api_generator.py typo
Remove double assignment which linters haven't found before
1 parent ed3c6ee commit a49ba40

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

samtranslator/model/api/api_generator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,7 @@ def _construct_single_record_set_group(
604604
hostedZoneId = route53.get("HostedZoneId")
605605
hostedZoneName = route53.get("HostedZoneName")
606606
domainName = domain.get("DomainName")
607-
logical_id = logical_id = LogicalIdGenerator(
608-
"RecordSetGroup", [hostedZoneId or hostedZoneName, domainName]
609-
).gen()
607+
logical_id = LogicalIdGenerator("RecordSetGroup", [hostedZoneId or hostedZoneName, domainName]).gen()
610608

611609
record_set_group = Route53RecordSetGroup(logical_id, attributes=self.passthrough_resource_attributes)
612610
if hostedZoneId:

0 commit comments

Comments
 (0)