Skip to content

Commit

Permalink
feat(dismiss): dont fail if no release found
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Jun 7, 2022
1 parent 5d2fa55 commit 6f79a18
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cmd/werf/dismiss/dismiss.go
Expand Up @@ -230,10 +230,12 @@ func runDismiss(ctx context.Context) error {
return err
}

dontFailIfNoRelease := true
helmUninstallCmd := helm_v3.NewUninstallCmd(actionConfig, logboek.Context(ctx).OutStream(), helm_v3.UninstallCmdOptions{
StagesSplitter: helm.StagesSplitter{},
DeleteNamespace: &cmdData.WithNamespace,
DeleteHooks: &cmdData.WithHooks,
StagesSplitter: helm.StagesSplitter{},
DeleteNamespace: &cmdData.WithNamespace,
DeleteHooks: &cmdData.WithHooks,
DontFailIfNoRelease: &dontFailIfNoRelease,
})

if cmdData.WithNamespace {
Expand Down

0 comments on commit 6f79a18

Please sign in to comment.