Merge pull request #1297 from aaron-prindle/delete-error
Removed error reporting prompt from minikube deletepull/1211/merge
commit
c0d81683a8
|
@ -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.")
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue