fixed kubeconfig test

pull/73/head
Dan Gillespie 2016-05-13 13:24:38 -07:00
parent 4194466d62
commit 4b5c89486f
2 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func runStart(cmd *cobra.Command, args []string) {
}
}
// setupKubeconfig reads config from disk, adds the minikube settings and writes it back.
// setupKubeconfig reads config from disk, adds the minikube settings, and writes it back.
// activeContext is true when minikube is the CurrentContext
// If no CurrentContext is set, the given name will be used.
func setupKubeconfig(name, server, certAuth, cliCert, cliKey string) (activeContext bool, err error) {

View File

@ -52,6 +52,7 @@ func TestNewConfig(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer os.RemoveAll(dir)
// setup minikube config
expected := api.NewConfig()