Skip to content

Commit

Permalink
runtime: netmon: fix govet fieldalignment
Browse files Browse the repository at this point in the history
Fix structures alignment

Signed-off-by: Julio Montes <julio.montes@intel.com>
  • Loading branch information
Julio Montes committed Jul 20, 2021
1 parent 31de8eb commit 8ca7a7c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/runtime/netmon/netmon.go
Expand Up @@ -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
Expand All @@ -81,6 +76,11 @@ type netmon struct {
rtDoneCh chan struct{}

netHandler *netlink.Handle

storagePath string
sharedFile string

netmonParams
}

var netmonLog = logrus.New()
Expand Down

0 comments on commit 8ca7a7c

Please sign in to comment.