mirror of
https://github.com/rancher/rke.git
synced 2025-09-25 14:48:06 +00:00
Merge pull request #2905 from rayandas/fix-error-handling
Fix error handling
This commit is contained in:
@@ -188,7 +188,7 @@ func (c *Cluster) deployUserAddOns(ctx context.Context) error {
|
||||
if c.Addons != "" {
|
||||
addonJobExists, err := addons.AddonJobExists(UserAddonJobName, c.LocalKubeConfigPath, c.K8sWrapTransport)
|
||||
if err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
if addonJobExists {
|
||||
log.Infof(ctx, "[addons] Removing old user addons")
|
||||
|
Reference in New Issue
Block a user