mirror of https://github.com/kubernetes/kops.git
Move channels exec path to /opt/kops/bin
This commit is contained in:
parent
1d4c8e4afa
commit
5cc94d76a6
|
|
@ -36,7 +36,7 @@ func applyChannel(channel string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func execChannels(args ...string) (string, error) {
|
func execChannels(args ...string) (string, error) {
|
||||||
kubectlPath := "/channels"
|
kubectlPath := "/opt/kops/bin/channels"
|
||||||
cmd := exec.Command(kubectlPath, args...)
|
cmd := exec.Command(kubectlPath, args...)
|
||||||
env := os.Environ()
|
env := os.Environ()
|
||||||
cmd.Env = env
|
cmd.Env = env
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue