diff options
Diffstat (limited to 'middleware/autopath/autopath_test.go')
-rw-r--r-- | middleware/autopath/autopath_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/autopath/autopath_test.go b/middleware/autopath/autopath_test.go index ca1290e26..b99744ab8 100644 --- a/middleware/autopath/autopath_test.go +++ b/middleware/autopath/autopath_test.go @@ -158,7 +158,7 @@ func TestInSearchPath(t *testing.T) { {"a.b.svc.cluster.local.", false}, } for i, tc := range tests { - got := a.FirstInSearchPath(tc.qname) + got := firstInSearchPath(tc.qname, a.search) if got != tc.b { t.Errorf("Test %d, got %v, expected %v", i, got, tc.b) } |