From fca91c4fa772101ea75877323febec16b37d575d Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Mon, 21 Feb 2022 16:06:07 +0000 Subject: [PATCH] CCv0: attempt to fix lint problem - golint complained about field alignment, so try moving field up in the struct Signed-off-by: stevenhorsman --- src/runtime/virtcontainers/sandbox.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime/virtcontainers/sandbox.go b/src/runtime/virtcontainers/sandbox.go index 2254cd294..0aa9b1d9a 100644 --- a/src/runtime/virtcontainers/sandbox.go +++ b/src/runtime/virtcontainers/sandbox.go @@ -148,6 +148,9 @@ type SandboxConfig struct { // StaticResourceMgmt indicates if the shim should rely on statically sizing the sandbox (VM) StaticResourceMgmt bool + // Offload the CRI image management service to the Kata agent. + ServiceOffload bool + ShmSize uint64 VfioMode config.VFIOModeType @@ -162,9 +165,6 @@ type SandboxConfig struct { SandboxCgroupOnly bool DisableGuestSeccomp bool - - // Offload the CRI image management service to the Kata agent. - ServiceOffload bool } // valid checks that the sandbox configuration is valid.