Skip to content

Commit

Permalink
Merge pull request #894 from fujitatomoya/bugfix-20220503-golint-erro…
Browse files Browse the repository at this point in the history
…r-cnitool

cnitool: address golint error
  • Loading branch information
dcbw authored May 11, 2022
2 parents 08f8596 + 99eac24 commit 940e662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cnitool/cnitool.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
"github.com/containernetworking/cni/libcni"
)

// Protocol parameters are passed to the plugins via OS environment variables.
const (
EnvCNIPath = "CNI_PATH"
EnvNetDir = "NETCONFPATH"
Expand Down Expand Up @@ -59,7 +60,6 @@ func parseArgs(args string) ([][2]string, error) {
func main() {
if len(os.Args) < 4 {
usage()
return
}

netdir := os.Getenv(EnvNetDir)
Expand Down

0 comments on commit 940e662

Please sign in to comment.