Skip to content

Commit

Permalink
Transfer PATH environment variable when delegating weave
Browse files Browse the repository at this point in the history
  • Loading branch information
clivez committed Mar 28, 2019
1 parent 6cf2b63 commit 7102a16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cnidel/cnidel.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func getExecCniParams(cniType string, netInfo *danmtypes.DanmNet, ep *danmtypes.
"CNI_IFNAME=" + ep.Spec.Iface.Name,
"CNI_ARGS=" + os.Getenv("CNI_ARGS"),
"CNI_PATH=" + os.Getenv("CNI_PATH"),
"PATH=" + os.Getenv("PATH"),
}
return cniPath, cniArgs, nil
}
Expand Down

0 comments on commit 7102a16

Please sign in to comment.