Skip to content

Commit

Permalink
chore(aws): Adopted provider.EnsureTrailingDot method
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Morales <sergio@cornershopapp.com>
  • Loading branch information
semoac committed Jun 24, 2020
1 parent 7d21f0b commit 540b97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ func changesByZone(zones map[string]*route53.HostedZone, changeSet []*route53.Ch
changes[aws.StringValue(z.Id)] = []*route53.Change{}
}
for _, c := range changeSet {
hostname := ensureTrailingDot(aws.StringValue(c.ResourceRecordSet.Name))
hostname := provider.EnsureTrailingDot(aws.StringValue(c.ResourceRecordSet.Name))
var thisZones []*route53.HostedZone
if awsUseBestZoneMatch {
thisZones = findBestZone(hostname, zones)
Expand Down

0 comments on commit 540b97a

Please sign in to comment.