1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-09-07 03:40:15 +00:00

runtime: virtcontainers/factory: fix govet fieldalignment

Fix structures alignment

Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
Julio Montes
2021-07-19 16:15:01 -05:00
parent dd58de368d
commit 54bdd01811
2 changed files with 10 additions and 6 deletions
src/runtime/virtcontainers/factory

@@ -19,12 +19,14 @@ import (
type cache struct {
base base.FactoryBase
cacheCh chan *vc.VM
closed chan<- int
cacheCh chan *vc.VM
closed chan<- int
vmm map[*vc.VM]interface{}
wg sync.WaitGroup
closeOnce sync.Once
vmm map[*vc.VM]interface{}
vmmLock sync.RWMutex
}

@@ -32,13 +32,15 @@ var factoryLogger = logrus.FieldLogger(logrus.New())
// Config is a collection of VM factory configurations.
type Config struct {
Template bool
VMCache bool
Cache uint
TemplatePath string
VMCacheEndpoint string
VMConfig vc.VMConfig
Cache uint
Template bool
VMCache bool
}
type factory struct {