CCv0: attempt to fix lint problem

- golint complained about field alignment, so try
moving field up in the struct

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2022-02-21 16:06:07 +00:00
parent e7e4ba9fc4
commit fca91c4fa7

View File

@@ -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.