提交 ff8ae731 编写于 作者: P Priya Wadhwa

If user doesn't specify driver, don't validate against existing cluster

上级 9498e7f7
......@@ -496,6 +496,10 @@ func validateSpecifiedDriver(existing *config.ClusterConfig) {
} else if d := viper.GetString("vm-driver"); d != "" {
requested = d
}
// Neither --vm-driver or --driver was specified
if requested == "" {
return
}
if old == requested {
return
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册