From 66ca2f1bc495675795f397ebee37addb331266a0 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Thu, 25 May 2023 17:05:16 +0100 Subject: [PATCH] qemu: static-check disable Disable gocyclo on large complex function in CCv0 branch Signed-off-by: stevenhorsman --- src/runtime/virtcontainers/qemu.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/virtcontainers/qemu.go b/src/runtime/virtcontainers/qemu.go index 4a23777dca..302effc5d8 100644 --- a/src/runtime/virtcontainers/qemu.go +++ b/src/runtime/virtcontainers/qemu.go @@ -526,6 +526,7 @@ func (q *qemu) createVirtiofsDaemon(sharedPath string) (VirtiofsDaemon, error) { } // CreateVM is the Hypervisor VM creation implementation for govmmQemu. +// nolint: gocyclo func (q *qemu) CreateVM(ctx context.Context, id string, network Network, hypervisorConfig *HypervisorConfig) error { // Save the tracing context q.ctx = ctx