remove debug statements

This commit is contained in:
Thomas Limoncelli 2025-11-25 11:37:02 -05:00
parent d54047f74a
commit 53bfdd3615
No known key found for this signature in database
3 changed files with 5 additions and 6 deletions

View file

@ -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") })

View file

@ -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)

View file

@ -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) {