Skip to content

Commit

Permalink
(aws#4592): use static HostedZone (aws#4593)
Browse files Browse the repository at this point in the history
  • Loading branch information
fogfish authored and mergify[bot] committed Oct 28, 2019
1 parent bdbe3aa commit 7b9503f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-route53/lib/hosted-zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class HostedZone extends Resource implements IHostedZone {
response.Name = response.Name.substring(0, response.Name.length - 1);
}

return this.fromHostedZoneAttributes(scope, id, {
return HostedZone.fromHostedZoneAttributes(scope, id, {
hostedZoneId: response.Id,
zoneName: response.Name,
});
Expand Down

0 comments on commit 7b9503f

Please sign in to comment.