aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/xfr_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/kubernetes/xfr_test.go')
-rw-r--r--plugin/kubernetes/xfr_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/kubernetes/xfr_test.go b/plugin/kubernetes/xfr_test.go
index dc6404c0c..db55aa8ed 100644
--- a/plugin/kubernetes/xfr_test.go
+++ b/plugin/kubernetes/xfr_test.go
@@ -129,9 +129,9 @@ func TestKubernetesXFRNotAllowed(t *testing.T) {
// difference shows what we're missing when comparing two RR slices
func difference(testRRs []dns.RR, gotRRs []dns.RR) []dns.RR {
- expectedRRs := map[string]bool{}
+ expectedRRs := map[string]struct{}{}
for _, rr := range testRRs {
- expectedRRs[rr.String()] = true
+ expectedRRs[rr.String()] = struct{}{}
}
foundRRs := []dns.RR{}