mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CHORE: Remove dead code: txtutil.SplitSingleLongTxt() and txtutil.Segment() (#2685)
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"net"
|
||||
|
||||
"github.com/StackExchange/dnscontrol/v4/models"
|
||||
"github.com/StackExchange/dnscontrol/v4/pkg/printer"
|
||||
)
|
||||
|
||||
// nativeToRecordA takes an A record from DNS and returns a native RecordConfig struct.
|
||||
@@ -65,7 +64,6 @@ func nativeToRecordTXT(nr nativeRecordTXT, origin string, defaultTTL uint32) *mo
|
||||
TTL: ttl,
|
||||
}
|
||||
rc.SetLabel(nr.Key, origin)
|
||||
printer.Printf("DEBUG: inbound raw s=%s\n", nr.Value)
|
||||
rc.SetTargetTXT(nr.Value)
|
||||
return rc
|
||||
}
|
||||
|
Reference in New Issue
Block a user