mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 19:54:00 +00:00
internal/delete: fix dropped error (#4016)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
This commit is contained in:
@@ -68,6 +68,10 @@ func InvokeDeleteActions(ctx *Context) error {
|
|||||||
ctx.Log.Debugf("Downloaded and extracted the backup file to: %s", dir)
|
ctx.Log.Debugf("Downloaded and extracted the backup file to: %s", dir)
|
||||||
|
|
||||||
backupResources, err := archive.NewParser(ctx.Log, ctx.Filesystem).Parse(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()
|
processdResources := sets.NewString()
|
||||||
|
|
||||||
ctx.Log.Debugf("Trying to reconcile resource names with Kube API server.")
|
ctx.Log.Debugf("Trying to reconcile resource names with Kube API server.")
|
||||||
|
|||||||
Reference in New Issue
Block a user