internal/delete: fix dropped error (#4016)

Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
pull/4044/head
Lars Lehtonen 2021-08-18 00:02:41 -07:00 committed by GitHub
parent 326dc07a12
commit 15d7a9dfb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ func InvokeDeleteActions(ctx *Context) error {
ctx.Log.Debugf("Downloaded and extracted the backup file to: %s", dir)
backupResources, err := archive.NewParser(ctx.Log, ctx.Filesystem).Parse(dir)
if err != nil {
return errors.Wrapf(err, "error parsing backup %q", dir)
}
processdResources := sets.NewString()
ctx.Log.Debugf("Trying to reconcile resource names with Kube API server.")