From 057c921ebf40c4d3734167ebf52642d8180c1cbb Mon Sep 17 00:00:00 2001 From: Vincent Hagen Date: Thu, 11 Jan 2024 20:35:16 +0100 Subject: [PATCH] TRANSIP: Fix description of multirecord updates to be increasing (#2791) Co-authored-by: Tom Limoncelli --- providers/transip/transipProvider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/transip/transipProvider.go b/providers/transip/transipProvider.go index 51b470678..ed2e6e6a7 100644 --- a/providers/transip/transipProvider.go +++ b/providers/transip/transipProvider.go @@ -179,7 +179,7 @@ func (n *transipProvider) recreateRecordSet(dc *models.DomainConfig, change diff } nativeRec, _ := recordToNative(rec, true) - createCorrection := change.CreateCorrectionWithMessage("[2/2] delete", func() error { return n.domains.RemoveDNSEntry(dc.Name, nativeRec) }) + createCorrection := change.CreateCorrectionWithMessage("[1/2] delete", func() error { return n.domains.RemoveDNSEntry(dc.Name, nativeRec) }) corrections = append(corrections, createCorrection) } @@ -189,7 +189,7 @@ func (n *transipProvider) recreateRecordSet(dc *models.DomainConfig, change diff } nativeRec, _ := recordToNative(rec, false) - createCorrection := change.CreateCorrectionWithMessage("[1/2] create", func() error { return n.domains.AddDNSEntry(dc.Name, nativeRec) }) + createCorrection := change.CreateCorrectionWithMessage("[2/2] create", func() error { return n.domains.AddDNSEntry(dc.Name, nativeRec) }) corrections = append(corrections, createCorrection) }