mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 09:36:58 +02:00
fix(cloudflare): fix action display in logs (#5550)
This commit is contained in:
parent
1b77c19d3c
commit
69d3424d4d
@ -579,7 +579,7 @@ func (p *CloudFlareProvider) submitChanges(ctx context.Context, changes []*cloud
|
|||||||
"record": change.ResourceRecord.Name,
|
"record": change.ResourceRecord.Name,
|
||||||
"type": change.ResourceRecord.Type,
|
"type": change.ResourceRecord.Type,
|
||||||
"ttl": change.ResourceRecord.TTL,
|
"ttl": change.ResourceRecord.TTL,
|
||||||
"action": change.Action,
|
"action": change.Action.String(),
|
||||||
"zone": zoneID,
|
"zone": zoneID,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ func (p *CloudFlareProvider) submitRegionalHostnameChange(ctx context.Context, r
|
|||||||
changeLog := log.WithFields(log.Fields{
|
changeLog := log.WithFields(log.Fields{
|
||||||
"hostname": rhChange.Hostname,
|
"hostname": rhChange.Hostname,
|
||||||
"region_key": rhChange.RegionKey,
|
"region_key": rhChange.RegionKey,
|
||||||
"action": rhChange.action,
|
"action": rhChange.action.String(),
|
||||||
"zone": resourceContainer.Identifier,
|
"zone": resourceContainer.Identifier,
|
||||||
})
|
})
|
||||||
if p.DryRun {
|
if p.DryRun {
|
||||||
|
Loading…
Reference in New Issue
Block a user