Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #362 from StrongMonkey/fix-rm-error
Browse files Browse the repository at this point in the history
Ignore not found error
  • Loading branch information
ibuildthecloud authored Aug 7, 2019
2 parents e4253f2 + c7bd7a9 commit 4a5ed9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/pkg/clicontext/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func (c *CLIContext) DeleteResource(r types.Resource) (err error) {
}
}
newerr := c.Rio.Apps(r.Namespace).Delete(r.Name, &metav1.DeleteOptions{})
if newerr != nil {
if newerr != nil && !errors.IsNotFound(err) {
errs = append(errs, newerr)
}
err = merr.NewErrors(errs...)
Expand Down

0 comments on commit 4a5ed9d

Please sign in to comment.