Tidied up a few printfs
This commit is contained in:
1 parent
9d1f2023b5
commit
a3cede3027
3 files changed
+2
-3
No files matched your search
@@ -2,7 +2,6 @@ package weavedns
|
||||
|
||||
import (
|
||||
"github.com/miekg/dns"
|
||||
"log"
|
||||
"net"
|
||||
"sync"
|
||||
)
|
||||
@@ -46,7 +45,6 @@ func (err DuplicateError) Error() string {
|
||||
// Stop gap.
|
||||
func (zone *ZoneDb) match(name string) (net.IP, error) {
|
||||
for _, r := range zone.recs {
|
||||
log.Printf("%s == %s ?", r.Name, name)
|
||||
if r.Name == name {
|
||||
return r.WeaveIp, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user