mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
go vet issue
This commit is contained in:
@@ -49,7 +49,7 @@ example.net:0 {
|
|||||||
t.Fatal("Expected to receive reply, but didn't")
|
t.Fatal("Expected to receive reply, but didn't")
|
||||||
}
|
}
|
||||||
if len(resp.Answer) != 2 {
|
if len(resp.Answer) != 2 {
|
||||||
t.Fatal("Expected two RR in answer section got %d", len(resp.Answer))
|
t.Fatalf("Expected two RR in answer section got %d", len(resp.Answer))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove RR from the Apex
|
// Remove RR from the Apex
|
||||||
@@ -63,7 +63,7 @@ example.net:0 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(resp.Answer) != 1 {
|
if len(resp.Answer) != 1 {
|
||||||
t.Fatal("Expected two RR in answer section got %d", len(resp.Answer))
|
t.Fatalf("Expected two RR in answer section got %d", len(resp.Answer))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user