Skip to content

Commit 2ee5d77

Browse files
committed
disable debug zone print
1 parent f95ff4b commit 2ee5d77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/zone/controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (s *File) Reload() error {
145145
s.stat = st
146146
s.zf = zf
147147

148-
PrintEntries(zf.Entries(), os.Stdout)
148+
// PrintEntries(zf.Entries(), os.Stdout)
149149

150150
return nil
151151
}
@@ -241,7 +241,7 @@ func (s *File) UpdateDomain(ctx context.Context, domain string, addrs []netip.Ad
241241
uglyBuf := bytes.NewBuffer(nil)
242242
PrintEntries(allEnt, uglyBuf)
243243

244-
fmt.Println(string(uglyBuf.String()))
244+
// fmt.Println(string(uglyBuf.String()))
245245

246246
ret := bytes.NewBuffer(nil)
247247
err = dnsfmt.Reformat(uglyBuf.Bytes(), nil, ret, true)

0 commit comments

Comments
 (0)