mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-30 19:41:13 +08:00
Removed debug statements.
This commit is contained in:
parent
d92fd5b461
commit
8769b1f021
1 changed files with 0 additions and 3 deletions
|
@ -23,10 +23,7 @@ type zoneGenData struct {
|
|||
func (z *zoneGenData) Len() int { return len(z.Records) }
|
||||
func (z *zoneGenData) Swap(i, j int) { z.Records[i], z.Records[j] = z.Records[j], z.Records[i] }
|
||||
func (z *zoneGenData) Less(i, j int) bool {
|
||||
//fmt.Printf("DEBUG: i=%#v j=%#v\n", i, j)
|
||||
//fmt.Printf("DEBUG: z.Records=%#v\n", len(z.Records))
|
||||
a, b := z.Records[i], z.Records[j]
|
||||
//fmt.Printf("DEBUG: a=%#v b=%#v\n", a, b)
|
||||
compA, compB := dnsutil.AddOrigin(a.Header().Name, z.Origin+"."), dnsutil.AddOrigin(b.Header().Name, z.Origin+".")
|
||||
if compA != compB {
|
||||
if compA == z.Origin+"." {
|
||||
|
|
Loading…
Reference in a new issue