mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 19:54:35 +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 {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user