mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
REFACTOR: Add Joined and Segmented accessors to TXT, and other cleanups (#2628)
This commit is contained in:
@@ -3,6 +3,7 @@ package models
|
||||
import (
|
||||
"fmt"
|
||||
"net"
|
||||
"runtime/debug"
|
||||
"strings"
|
||||
|
||||
"github.com/miekg/dns"
|
||||
@@ -26,7 +27,7 @@ func (rc *RecordConfig) GetTargetField() string {
|
||||
if debugWarnTxtField {
|
||||
if rc.Type == "TXT" {
|
||||
fmt.Printf("DEBUG: WARNING: GetTargetField called on TXT record is frequently wrong: %q\n", rc.target)
|
||||
//debug.PrintStack()
|
||||
debug.PrintStack()
|
||||
}
|
||||
}
|
||||
return rc.target
|
||||
|
Reference in New Issue
Block a user