Merge pull request #1297 from aaron-prindle/delete-error

Removed error reporting prompt from minikube delete
pull/1211/merge
dlorenc 2017-03-27 14:32:37 -07:00 committed by GitHub
commit c0d81683a8
1 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@ import (
"os"
"github.com/spf13/cobra"
cmdUtil "k8s.io/minikube/cmd/util"
"k8s.io/minikube/pkg/minikube/cluster"
"k8s.io/minikube/pkg/minikube/machine"
)
@ -43,7 +42,7 @@ associated files.`,
if err = cluster.DeleteHost(api); err != nil {
fmt.Println("Errors occurred deleting machine: ", err)
cmdUtil.MaybeReportErrorAndExit(err)
os.Exit(1)
}
fmt.Println("Machine deleted.")
},