qemu: static-check disable

Disable gocyclo on large complex function in CCv0 branch

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2023-05-25 17:05:16 +01:00
parent c87c8ffce5
commit 66ca2f1bc4

View File

@@ -526,6 +526,7 @@ func (q *qemu) createVirtiofsDaemon(sharedPath string) (VirtiofsDaemon, error) {
} }
// CreateVM is the Hypervisor VM creation implementation for govmmQemu. // 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 { func (q *qemu) CreateVM(ctx context.Context, id string, network Network, hypervisorConfig *HypervisorConfig) error {
// Save the tracing context // Save the tracing context
q.ctx = ctx q.ctx = ctx