From c187bed3c570a11595e1bfba465d94949c6ddb67 Mon Sep 17 00:00:00 2001 From: dougbtv Date: Thu, 19 Sep 2024 15:00:22 -0400 Subject: [PATCH] updates test to call func --- pkg/server/thick_cni_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }