Skip to content

Commit 6e9d459

Browse files
authored
fix: cloudflare softError failedZones (#5899)
Right now we get a fatal due to dual DNS records. Instead do a softError and try again next reconcile. Signed-off-by: Edvin Norling <[email protected]>
1 parent 51c0d90 commit 6e9d459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/cloudflare/cloudflare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ func (p *CloudFlareProvider) submitChanges(ctx context.Context, changes []*cloud
721721
}
722722

723723
if len(failedZones) > 0 {
724-
return fmt.Errorf("failed to submit all changes for the following zones: %q", failedZones)
724+
return provider.NewSoftErrorf("failed to submit all changes for the following zones: %q", failedZones)
725725
}
726726

727727
return nil

0 commit comments

Comments
 (0)