mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 01:47:53 +08:00
TRANSIP: Fix description of multirecord updates to be increasing (#2791)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
parent
82d6a9b124
commit
057c921ebf
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue