From b9c6c6ec15a37d1e4d613f5544f316161403a793 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Wed, 25 Oct 2023 16:36:16 -0700 Subject: [PATCH] add nolint --- pkg/drivers/kic/oci/oci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/drivers/kic/oci/oci.go b/pkg/drivers/kic/oci/oci.go index e9c4c959c307..07dabd37edf3 100644 --- a/pkg/drivers/kic/oci/oci.go +++ b/pkg/drivers/kic/oci/oci.go @@ -147,7 +147,7 @@ func checkRunning(p CreateParams) func() error { } // CreateContainerNode creates a new container node -func CreateContainerNode(p CreateParams) error { +func CreateContainerNode(p CreateParams) error { //nolint to suppress cyclomatic complexity // on windows os, if docker desktop is using Windows Containers. Exit early with error if p.OCIBinary == Docker && runtime.GOOS == "windows" { info, err := DaemonInfo(p.OCIBinary)