plugin/k8s_external: Set authoritative bit in responses (#5284)
set authoritative bit in responses Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
parent
83021637b3
commit
e60c179194
4 changed files with 9 additions and 0 deletions
|
@ -45,6 +45,9 @@ func TestExternal(t *testing.T) {
|
|||
if resp == nil {
|
||||
t.Fatalf("Test %d, got nil message and no error for %q", i, r.Question[0].Name)
|
||||
}
|
||||
if !resp.Authoritative {
|
||||
t.Error("Expected authoritative answer")
|
||||
}
|
||||
if err = test.SortAndCheck(resp, tc); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue