mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CHORE: Linting (#1704)
* Remove deprecated io/ioutil * fixup! * staticcheck and linting * revert models/provider.go * Fix imports to new style * linting
This commit is contained in:
@@ -114,7 +114,8 @@ func nativeToRecords(nr nativeRecord, origin string) (*models.RecordConfig, erro
|
||||
// uprops["SerialNumber"], uprops["RefreshInterval"], uprops["RetryDelay"],
|
||||
// uprops["ExpireLimit"], uprops["MinimumTimeToLive"])
|
||||
case "TXT":
|
||||
rc.SetTargetTXTString(sprops["DescriptiveText"])
|
||||
//rc.SetTargetTXTString(sprops["DescriptiveText"])
|
||||
rc.SetTargetTXTfromRFC1035Quoted(sprops["DescriptiveText"])
|
||||
default:
|
||||
return nil, fmt.Errorf(
|
||||
"msdns/convert.go:nativeToRecord rtype=%q unknown: props=%+v and %+v",
|
||||
|
Reference in New Issue
Block a user