internal/delete: fix dropped error (#4016)

Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
This commit is contained in:
Lars Lehtonen
2021-08-18 00:02:41 -07:00
committed by GitHub
parent 326dc07a12
commit 15d7a9dfb6

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.")