Skip to content

Commit 940e662

Browse files
authored
Merge pull request #894 from fujitatomoya/bugfix-20220503-golint-error-cnitool
cnitool: address golint error
2 parents 08f8596 + 99eac24 commit 940e662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cnitool/cnitool.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
"github.com/containernetworking/cni/libcni"
2727
)
2828

29+
// Protocol parameters are passed to the plugins via OS environment variables.
2930
const (
3031
EnvCNIPath = "CNI_PATH"
3132
EnvNetDir = "NETCONFPATH"
@@ -59,7 +60,6 @@ func parseArgs(args string) ([][2]string, error) {
5960
func main() {
6061
if len(os.Args) < 4 {
6162
usage()
62-
return
6363
}
6464

6565
netdir := os.Getenv(EnvNetDir)

0 commit comments

Comments
 (0)