未验证 提交 6a040661 编写于 作者: T Thomas Strömberg 提交者: GitHub

Merge pull request #3374 from jeffwubj/dev

Tell user given driver has been igored if exising VM has a different …
......@@ -78,6 +78,10 @@ func StartHost(api libmachine.API, config cfg.MachineConfig) (*host.Host, error)
return nil, errors.Wrap(err, "Error loading existing host. Please try running [minikube delete], then run [minikube start] again.")
}
if h.Driver.DriverName() != config.VMDriver {
fmt.Printf("Skipping %s driver, existing host has %s driver.\n", config.VMDriver, h.Driver.DriverName())
}
s, err := h.Driver.GetState()
glog.Infoln("Machine state: ", s)
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册