Skip to content

Commit

Permalink
Merge 78f64ca into 2ef1503
Browse files Browse the repository at this point in the history
  • Loading branch information
miry committed May 12, 2020
2 parents 2ef1503 + 78f64ca commit 63ff99a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provider/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,14 +400,14 @@ func (p *AWSProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) e
func (p *AWSProvider) submitChanges(ctx context.Context, changes []*route53.Change, zones map[string]*route53.HostedZone) error {
// return early if there is nothing to change
if len(changes) == 0 {
log.Info("All records are already up to date")
log.Debug("All records are already up to date")
return nil
}

// separate into per-zone change sets to be passed to the API.
changesByZone := changesByZone(zones, changes)
if len(changesByZone) == 0 {
log.Info("All records are already up to date, there are no changes for the matching hosted zones")
log.Debug("All records are already up to date, there are no changes for the matching hosted zones")
}

var failedZones []string
Expand Down

0 comments on commit 63ff99a

Please sign in to comment.