mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 17:46:57 +02:00
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:
parent
2ee4b2e533
commit
e01cf2f61d
@ -270,6 +270,9 @@ func (p *AWSProvider) submitChanges(changes []*route53.Change) error {
|
|||||||
|
|
||||||
// separate into per-zone change sets to be passed to the API.
|
// separate into per-zone change sets to be passed to the API.
|
||||||
changesByZone := changesByZone(zones, changes)
|
changesByZone := changesByZone(zones, changes)
|
||||||
|
if len(changesByZone) == 0 {
|
||||||
|
log.Info("No matching hosted zones")
|
||||||
|
}
|
||||||
|
|
||||||
for z, cs := range changesByZone {
|
for z, cs := range changesByZone {
|
||||||
limCs := limitChangeSet(cs, maxChangeCount)
|
limCs := limitChangeSet(cs, maxChangeCount)
|
||||||
|
Loading…
Reference in New Issue
Block a user