fix(cloudflare): fix action display in logs (#5550)

This commit is contained in:
vflaux 2025-07-06 12:37:24 +02:00 committed by GitHub
parent 1b77c19d3c
commit 69d3424d4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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,
} }

View File

@ -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 {