From c06af5f5cd30b6d8ec09dcc7c71ebed0039b9985 Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Fri, 13 Apr 2018 13:45:16 -0700 Subject: [PATCH] linter: make maligned linter happy maligned linter was complaining about the size of the struct. So move fields around to pack the struct better. Signed-off-by: Archana Shinde --- cli/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/config.go b/cli/config.go index 586bc6687b..30c7c38391 100644 --- a/cli/config.go +++ b/cli/config.go @@ -85,15 +85,15 @@ type hypervisor struct { DefaultVCPUs int32 `toml:"default_vcpus"` DefaultMemSz uint32 `toml:"default_memory"` DefaultBridges uint32 `toml:"default_bridges"` - DisableBlockDeviceUse bool `toml:"disable_block_device_use"` + Msize9p uint32 `toml:"msize_9p"` BlockDeviceDriver string `toml:"block_device_driver"` + DisableBlockDeviceUse bool `toml:"disable_block_device_use"` MemPrealloc bool `toml:"enable_mem_prealloc"` HugePages bool `toml:"enable_hugepages"` Swap bool `toml:"enable_swap"` Debug bool `toml:"enable_debug"` DisableNestingChecks bool `toml:"disable_nesting_checks"` EnableIOThreads bool `toml:"enable_iothreads"` - Msize9p uint32 `toml:"msize_9p"` } type proxy struct {