mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
general error message
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
This commit is contained in:
parent
6b68a00440
commit
e6c6a40fe0
1 changed files with 1 additions and 5 deletions
|
|
@ -84,11 +84,7 @@ func (w *statusWaiter) waitForDelete(ctx context.Context, resourceList ResourceL
|
|||
if rs.Status == status.NotFoundStatus {
|
||||
continue
|
||||
}
|
||||
if rs.Status == status.UnknownStatus {
|
||||
errs = append(errs, fmt.Errorf("cannot determine resource state, name: %s, kind: %s, status: %s", rs.Identifier.Name, rs.Identifier.GroupKind.Kind, rs.Status))
|
||||
} else {
|
||||
errs = append(errs, fmt.Errorf("resource still exists, name: %s, kind: %s, status: %s", rs.Identifier.Name, rs.Identifier.GroupKind.Kind, rs.Status))
|
||||
}
|
||||
errs = append(errs, fmt.Errorf("resource still exists, name: %s, kind: %s, status: %s", rs.Identifier.Name, rs.Identifier.GroupKind.Kind, rs.Status))
|
||||
}
|
||||
errs = append(errs, ctx.Err())
|
||||
return errors.Join(errs...)
|
||||
|
|
|
|||
Loading…
Reference in a new issue