cleanups: go vet/golint (#331)
Go vet and golint the new code once again. Drop Name from NameTemplate - it's cleaner: nametemplate.Template.
This commit is contained in:
parent
710c9b111f
commit
aa7744dc86
16 changed files with 64 additions and 64 deletions
|
@ -43,7 +43,7 @@ func TestLookupWildcard(t *testing.T) {
|
|||
for _, lookup := range []string{"w.example.org.", "a.w.example.org.", "a.a.w.example.org."} {
|
||||
resp, err := p.Lookup(state, lookup, dns.TypeTXT)
|
||||
if err != nil || resp == nil {
|
||||
t.Fatal("Expected to receive reply, but didn't for %s", lookup)
|
||||
t.Fatalf("Expected to receive reply, but didn't for %s", lookup)
|
||||
}
|
||||
|
||||
// ;; ANSWER SECTION:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue