mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
REFACTOR: providers should not directly access .TxtStrings (#2629)
This commit is contained in:
@@ -314,7 +314,7 @@ func toVultrRecord(dc *models.DomainConfig, rc *models.RecordConfig, vultrID str
|
||||
// Vultr doesn't permit TXT strings to include double-quotes
|
||||
// therefore, we don't have to escape interior double-quotes.
|
||||
// Vultr's API requires the string to begin and end with double-quotes.
|
||||
r.Data = `"` + strings.Join(rc.TxtStrings, "") + `"`
|
||||
r.Data = `"` + strings.Join(rc.GetTargetTXTSegmented(), "") + `"`
|
||||
default:
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user