Skip to content

Commit

Permalink
updates test to call func
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbtv committed Sep 19, 2024
1 parent bb3ee3c commit dcbd737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/thick_cni_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 false })
if err != nil {
return nil, err
}
Expand Down

0 comments on commit dcbd737

Please sign in to comment.