Signed-off-by: Rafael Leal <rafaelealdias@gmail.com>
This commit is contained in:
Rafael Leal
2022-05-12 12:01:00 -03:00
parent 8ecc11fad2
commit 206709b978
-1
View File
@@ -1256,7 +1256,6 @@ func (ctx *restoreContext) restoreItem(obj *unstructured.Unstructured, groupReso
addRestoreLabels(obj, ctx.restore.Name, ctx.restore.Spec.BackupName)
// Clear out status.
objWithoutStatus := obj.DeepCopy()
if objWithoutStatus, err = resetStatus(objWithoutStatus); err != nil {
errs.Add(namespace, err)