Move channels exec path to /opt/kops/bin

This commit is contained in:
Bharath Vedartham 2021-03-06 00:32:21 +05:30
parent 1d4c8e4afa
commit 5cc94d76a6
1 changed files with 1 additions and 1 deletions

View File

@ -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