mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 13:46:07 +08:00
remove debug statements
This commit is contained in:
parent
d54047f74a
commit
53bfdd3615
3 changed files with 5 additions and 6 deletions
|
|
@ -18,8 +18,7 @@ func TestFormatTypes(t *testing.T) {
|
|||
test_data/$DOMAIN.zone zone test_data/$DOMAIN.zone.zone
|
||||
*/
|
||||
|
||||
//for _, domain := range []string{"simple.com", "example.org", "apex.com", "ds.com"} {
|
||||
for _, domain := range []string{"simple.com"} {
|
||||
for _, domain := range []string{"simple.com", "example.org", "apex.com", "ds.com"} {
|
||||
t.Run(domain+"/js", func(t *testing.T) { testFormat(t, domain, "js") })
|
||||
t.Run(domain+"/djs", func(t *testing.T) { testFormat(t, domain, "djs") })
|
||||
t.Run(domain+"/tsv", func(t *testing.T) { testFormat(t, domain, "tsv") })
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ func makeChanges(t *testing.T, prv providers.DNSServiceProvider, dc *models.Doma
|
|||
return
|
||||
}
|
||||
|
||||
fmt.Printf("DEBUG: Running test %q: Names %q %q %q\n", desc, dom.Name, dom.NameRaw, dom.NameUnicode)
|
||||
//fmt.Printf("DEBUG: Running test %q: Names %q %q %q\n", desc, dom.Name, dom.NameRaw, dom.NameUnicode)
|
||||
|
||||
// get and run corrections for first time
|
||||
_, corrections, actualChangeCount, err := zonerecs.CorrectZoneRecords(prv, dom)
|
||||
|
|
|
|||
|
|
@ -181,9 +181,9 @@ func (c *bindProvider) GetZoneRecords(domain string, meta map[string]string) (mo
|
|||
ff,
|
||||
),
|
||||
)
|
||||
fmt.Printf("DEBUG: Reading zonefile %q\n", zonefile)
|
||||
fmt.Printf("DEBUG: Meta %+v\n", meta)
|
||||
fmt.Printf("DEBUG: Domain Names %+v\n", ff)
|
||||
//fmt.Printf("DEBUG: Reading zonefile %q\n", zonefile)
|
||||
//fmt.Printf("DEBUG: Meta %+v\n", meta)
|
||||
//fmt.Printf("DEBUG: Domain Names %+v\n", ff)
|
||||
|
||||
content, err := os.ReadFile(zonefile)
|
||||
if os.IsNotExist(err) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue