From 8ca7a7c547a8a6d78b1d1ec6136738b3c1e9a30e Mon Sep 17 00:00:00 2001 From: Julio Montes Date: Fri, 9 Jul 2021 12:53:35 -0500 Subject: [PATCH] runtime: netmon: fix govet fieldalignment Fix structures alignment Signed-off-by: Julio Montes --- src/runtime/netmon/netmon.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/runtime/netmon/netmon.go b/src/runtime/netmon/netmon.go index 9becf8f0b..c8290e694 100644 --- a/src/runtime/netmon/netmon.go +++ b/src/runtime/netmon/netmon.go @@ -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()