mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +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:
parent
dd58de368d
commit
54bdd01811
@ -19,12 +19,14 @@ import (
|
|||||||
type cache struct {
|
type cache struct {
|
||||||
base base.FactoryBase
|
base base.FactoryBase
|
||||||
|
|
||||||
cacheCh chan *vc.VM
|
cacheCh chan *vc.VM
|
||||||
closed chan<- int
|
closed chan<- int
|
||||||
|
|
||||||
|
vmm map[*vc.VM]interface{}
|
||||||
|
|
||||||
wg sync.WaitGroup
|
wg sync.WaitGroup
|
||||||
closeOnce sync.Once
|
closeOnce sync.Once
|
||||||
|
|
||||||
vmm map[*vc.VM]interface{}
|
|
||||||
vmmLock sync.RWMutex
|
vmmLock sync.RWMutex
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,13 +32,15 @@ var factoryLogger = logrus.FieldLogger(logrus.New())
|
|||||||
|
|
||||||
// Config is a collection of VM factory configurations.
|
// Config is a collection of VM factory configurations.
|
||||||
type Config struct {
|
type Config struct {
|
||||||
Template bool
|
|
||||||
VMCache bool
|
|
||||||
Cache uint
|
|
||||||
TemplatePath string
|
TemplatePath string
|
||||||
VMCacheEndpoint string
|
VMCacheEndpoint string
|
||||||
|
|
||||||
VMConfig vc.VMConfig
|
VMConfig vc.VMConfig
|
||||||
|
|
||||||
|
Cache uint
|
||||||
|
|
||||||
|
Template bool
|
||||||
|
VMCache bool
|
||||||
}
|
}
|
||||||
|
|
||||||
type factory struct {
|
type factory struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user