提交 803461dd 编写于 作者: K Kenta Iso

if the specified addon doesn't exist, skip enabling

上级 9d71fc63
......@@ -334,7 +334,11 @@ func Start(wg *sync.WaitGroup, cc *config.ClusterConfig, toEnable map[string]boo
// Apply new addons
for _, name := range additional {
toEnable[name] = true
// if the specified addon doesn't exist, skip enabling
_, e := isAddonValid(name)
if e {
toEnable[name] = true
}
}
toEnableList := []string{}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册