Skip to content

Commit

Permalink
fix(application): more specific in not found case (#1735)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoryu committed Jan 4, 2022
1 parent 74592a3 commit e927b92
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -289,7 +289,7 @@ func deleteApplication(ctx context.Context,
repo appconfig.RepoConfiguration) error {
_, err := action.Uninstall(ctx, deleter.applicationClient, deleter.platformClient, app, repo)
if err != nil {
if strings.Contains(err.Error(), "not found") {
if strings.Contains(err.Error(), "release: not found") {
log.Warn(err.Error())
return nil
}
Expand Down

0 comments on commit e927b92

Please sign in to comment.