mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
runtime: netmon: fix govet fieldalignment
Fix structures alignment Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
31de8eb75b
commit
8ca7a7c547
@ -62,16 +62,11 @@ var (
|
|||||||
type netmonParams struct {
|
type netmonParams struct {
|
||||||
sandboxID string
|
sandboxID string
|
||||||
runtimePath string
|
runtimePath string
|
||||||
debug bool
|
|
||||||
logLevel string
|
logLevel string
|
||||||
|
debug bool
|
||||||
}
|
}
|
||||||
|
|
||||||
type netmon struct {
|
type netmon struct {
|
||||||
netmonParams
|
|
||||||
|
|
||||||
storagePath string
|
|
||||||
sharedFile string
|
|
||||||
|
|
||||||
netIfaces map[int]pbTypes.Interface
|
netIfaces map[int]pbTypes.Interface
|
||||||
|
|
||||||
linkUpdateCh chan netlink.LinkUpdate
|
linkUpdateCh chan netlink.LinkUpdate
|
||||||
@ -81,6 +76,11 @@ type netmon struct {
|
|||||||
rtDoneCh chan struct{}
|
rtDoneCh chan struct{}
|
||||||
|
|
||||||
netHandler *netlink.Handle
|
netHandler *netlink.Handle
|
||||||
|
|
||||||
|
storagePath string
|
||||||
|
sharedFile string
|
||||||
|
|
||||||
|
netmonParams
|
||||||
}
|
}
|
||||||
|
|
||||||
var netmonLog = logrus.New()
|
var netmonLog = logrus.New()
|
||||||
|
Loading…
Reference in New Issue
Block a user