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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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