mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-11-04 03:29:55 +00:00 
			
		
		
		
	runtime: netmon: fix govet fieldalignment
Fix structures alignment Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
		@@ -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()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user