Print a message if no hosted zones match (aws provider) (#592)

* Print a message if no hosted zones match (aws provider)

Fixes #590

* Remove early return
This commit is contained in:
Svend Sorensen 2018-06-14 11:53:54 -07:00 committed by Henning Jacobs
parent 2ee4b2e533
commit e01cf2f61d

View File

@ -270,6 +270,9 @@ func (p *AWSProvider) submitChanges(changes []*route53.Change) error {
// separate into per-zone change sets to be passed to the API.
changesByZone := changesByZone(zones, changes)
if len(changesByZone) == 0 {
log.Info("No matching hosted zones")
}
for z, cs := range changesByZone {
limCs := limitChangeSet(cs, maxChangeCount)