Merge pull request #855 from mmorel-35/linters

enable durationcheck,  predeclared, unconvert, unused and wastedassign linters
This commit is contained in:
Dan Williams
2023-03-27 10:53:34 -05:00
committed by GitHub
9 changed files with 39 additions and 34 deletions

View File

@ -306,7 +306,7 @@ func (tc testCase) createCheckCmdArgs(targetNS ns.NetNS, config *Net) *skel.CmdA
ContainerID: fmt.Sprintf("dummy-%d", counter),
Netns: targetNS.Path(),
IfName: IFNAME,
StdinData: []byte(conf),
StdinData: conf,
}
}