Unverified Commit 6775a325 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #59992 from nikhiljindal/kubemcie2e

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Do not add kubeconfig flag while running kubemci unless explicitly requested Follow up to https://github.com/kubernetes/kubernetes/pull/59955 Now that we have runKubemciWithKubeconfig, runKubemciCmd should not be adding kubeconfig flag. ```release-note NONE ```
parents 1a6a01ee e012ef8c
...@@ -2206,9 +2206,6 @@ func runKubemciCmd(args ...string) (string, error) { ...@@ -2206,9 +2206,6 @@ func runKubemciCmd(args ...string) (string, error) {
// kubemci is assumed to be in PATH. // kubemci is assumed to be in PATH.
kubemci := "kubemci" kubemci := "kubemci"
b := new(kubectlBuilder) b := new(kubectlBuilder)
if TestContext.KubeConfig != "" {
args = append(args, "--"+clientcmd.RecommendedConfigPathFlag+"="+TestContext.KubeConfig)
}
args = append(args, "--gcp-project="+TestContext.CloudConfig.ProjectID) args = append(args, "--gcp-project="+TestContext.CloudConfig.ProjectID)
b.cmd = exec.Command(kubemci, args...) b.cmd = exec.Command(kubemci, args...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment