mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 08:17:37 +00:00
lint: Fix virtcontainers structcheck
errors
Correct `structcheck` linter issues. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
c4e85905db
commit
cc09b01ab2
@ -22,7 +22,6 @@ import (
|
|||||||
|
|
||||||
// cnm is a network implementation for the CNM plugin.
|
// cnm is a network implementation for the CNM plugin.
|
||||||
type cnm struct {
|
type cnm struct {
|
||||||
config NetworkConfig
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func cnmLogger() *logrus.Entry {
|
func cnmLogger() *logrus.Entry {
|
||||||
|
@ -466,8 +466,6 @@ type Pod struct {
|
|||||||
|
|
||||||
networkNS NetworkNamespace
|
networkNS NetworkNamespace
|
||||||
|
|
||||||
lockFile *os.File
|
|
||||||
|
|
||||||
annotationsLock *sync.RWMutex
|
annotationsLock *sync.RWMutex
|
||||||
|
|
||||||
wg *sync.WaitGroup
|
wg *sync.WaitGroup
|
||||||
|
Loading…
Reference in New Issue
Block a user