提交 39253bb5 编写于 作者: T tstromberg

Provide actionable feedback for root error

上级 28a14722
......@@ -561,7 +561,8 @@ func validateUser() {
return
}
out.T(out.Stopped, "The {{.driver_name}} driver should not be used with root privileges.", out.V{"driver_name": d})
out.T(out.Stopped, `The "{{.driver_name}}" driver should not be used with root privileges.`, out.V{"driver_name": d})
out.T(out.Tip, "If you are running minikube within a VM, consider using '--vm-driver=none': https://minikube.sigs.k8s.io/docs/reference/drivers/none/")
_, err = cfg.Load()
if err == nil || !os.IsNotExist(err) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册