diff --git a/pkg/server/thick_cni_test.go b/pkg/server/thick_cni_test.go index e97612fa9..7cb33db75 100644 --- a/pkg/server/thick_cni_test.go +++ b/pkg/server/thick_cni_test.go @@ -274,7 +274,7 @@ func createFakePod(k8sClient *k8s.ClientInfo, podName string) error { func startCNIServer(ctx context.Context, runDir string, k8sClient *k8s.ClientInfo, servConfig []byte) (*Server, error) { const period = 0 - cniServer, err := newCNIServer(runDir, k8sClient, &fakeExec{}, servConfig, true) + cniServer, err := newCNIServer(runDir, k8sClient, &fakeExec{}, servConfig, true, func() bool { return true }) if err != nil { return nil, err }