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 { 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()