check for special error everywhere

pull/12231/head
Sharif Elgamal 2021-08-31 12:21:09 -07:00
parent 55c40f8220
commit 7317746d57
1 changed files with 1 additions and 1 deletions

View File

@ -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)