From 8555c9d05e1fa05b813d74c391666f34894a2172 Mon Sep 17 00:00:00 2001 From: GaoXiaodong <13814823514@163.com> Date: Tue, 30 May 2023 11:22:18 +0800 Subject: [PATCH] fix(application): fix install app error (#2296) Co-authored-by: xdonggao --- pkg/application/helm/action/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/application/helm/action/install.go b/pkg/application/helm/action/install.go index edbc738fb..f2105e2a0 100644 --- a/pkg/application/helm/action/install.go +++ b/pkg/application/helm/action/install.go @@ -104,7 +104,7 @@ func (c *Client) InstallWithLocal(ctx context.Context, options *InstallOptions, histClient.Max = 1 rels, err := histClient.Run(options.ReleaseName) if err != nil { - if errors.Is(err, driver.ErrReleaseNotFound) { + if !errors.Is(err, driver.ErrReleaseNotFound) { return nil, err } } else {