mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-31 23:36:12 +00:00
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 <archana.m.shinde@intel.com>
This commit is contained in:
parent
cc61ccf9e9
commit
c06af5f5cd
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user