Do not add kubeconfig while running kubemci

pull/6/head
nikhiljindal 2018-02-16 15:05:07 -08:00
parent cfa6d35c85
commit e012ef8cc4
1 changed files with 0 additions and 3 deletions

View File

@ -2206,9 +2206,6 @@ func runKubemciCmd(args ...string) (string, error) {
// kubemci is assumed to be in PATH.
kubemci := "kubemci"
b := new(kubectlBuilder)
if TestContext.KubeConfig != "" {
args = append(args, "--"+clientcmd.RecommendedConfigPathFlag+"="+TestContext.KubeConfig)
}
args = append(args, "--gcp-project="+TestContext.CloudConfig.ProjectID)
b.cmd = exec.Command(kubemci, args...)