check for special error everywhere
parent
55c40f8220
commit
7317746d57
|
@ -449,7 +449,7 @@ func Start(wg *sync.WaitGroup, cc *config.ClusterConfig, toEnable map[string]boo
|
||||||
awg.Add(1)
|
awg.Add(1)
|
||||||
go func(name string) {
|
go func(name string) {
|
||||||
err := RunCallbacks(cc, name, "true")
|
err := RunCallbacks(cc, name, "true")
|
||||||
if err != nil {
|
if err != nil && !errors.Is(err, ErrSkipThisAddon) {
|
||||||
out.WarningT("Enabling '{{.name}}' returned an error: {{.error}}", out.V{"name": name, "error": err})
|
out.WarningT("Enabling '{{.name}}' returned an error: {{.error}}", out.V{"name": name, "error": err})
|
||||||
} else {
|
} else {
|
||||||
enabledAddons = append(enabledAddons, name)
|
enabledAddons = append(enabledAddons, name)
|
||||||
|
|
Loading…
Reference in New Issue