runtime: netmon: fix govet fieldalignment

Fix structures alignment

Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
Julio Montes 2021-07-09 12:53:35 -05:00
parent 31de8eb75b
commit 8ca7a7c547

View File

@ -62,16 +62,11 @@ var (
type netmonParams struct {
sandboxID string
runtimePath string
debug bool
logLevel string
debug bool
}
type netmon struct {
netmonParams
storagePath string
sharedFile string
netIfaces map[int]pbTypes.Interface
linkUpdateCh chan netlink.LinkUpdate
@ -81,6 +76,11 @@ type netmon struct {
rtDoneCh chan struct{}
netHandler *netlink.Handle
storagePath string
sharedFile string
netmonParams
}
var netmonLog = logrus.New()