1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

HEXONET: AuditRecord should permit TXT with long strings (#1107)

Co-authored-by: Rashad Jamara <rjamara@hexonet.net>
This commit is contained in:
Rashad J
2021-03-28 16:38:59 +01:00
committed by GitHub
parent ec35f5fb2d
commit b0fd111ea2

View File

@@ -9,10 +9,10 @@ import (
// supportable by this provider. // supportable by this provider.
func AuditRecords(records []*models.RecordConfig) error { func AuditRecords(records []*models.RecordConfig) error {
if err := recordaudit.TxtNoLongStrings(records); err != nil { // if err := recordaudit.TxtNoLongStrings(records); err != nil {
return err // return err
} // }
// Still needed as of 2021-03-07 // Not needed as of 2021-03-26
if err := recordaudit.TxtNoMultipleStrings(records); err != nil { if err := recordaudit.TxtNoMultipleStrings(records); err != nil {
return err return err