提交 98508253 编写于 作者: T tstromberg

--download-only should download drivers

上级 6208b6cc
......@@ -304,10 +304,8 @@ func runStart(cmd *cobra.Command, args []string) {
validateFlags(cmd, driverName)
validateUser(driverName)
// No need to install a driver in download-only mode
if !viper.GetBool(downloadOnly) {
updateDriver(driverName)
}
// Download & update the driver, even in --download-only mode
updateDriver(driverName)
k8sVersion, isUpgrade := getKubernetesVersion(existing)
config, err := generateCfgFromFlags(cmd, k8sVersion, driverName)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册