From 7317746d57a1a680384b7a440bf6530da47bb453 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 31 Aug 2021 12:21:09 -0700 Subject: [PATCH] check for special error everywhere --- pkg/addons/addons.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/addons/addons.go b/pkg/addons/addons.go index b627487b83..5580cf198a 100644 --- a/pkg/addons/addons.go +++ b/pkg/addons/addons.go @@ -449,7 +449,7 @@ func Start(wg *sync.WaitGroup, cc *config.ClusterConfig, toEnable map[string]boo awg.Add(1) go func(name string) { 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}) } else { enabledAddons = append(enabledAddons, name)