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:
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 {
|
||||
|
Reference in New Issue
Block a user