Commit e012ef8c authored by nikhiljindal's avatar nikhiljindal

Do not add kubeconfig while running kubemci

parent cfa6d35c
...@@ -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