Exit when failing to update a backup's phase

Signed-off-by: Nolan Brubaker <nolan@heptio.com>
This commit is contained in:
Nolan Brubaker
2018-05-17 12:47:38 -04:00
parent 5d74a92cf1
commit 7eac6675e8
2 changed files with 17 additions and 0 deletions
@@ -211,6 +211,7 @@ func (c *backupDeletionController) processRequest(req *v1.DeleteBackupRequest) e
})
if err != nil {
log.WithError(errors.WithStack(err)).Error("Error setting backup phase to deleting")
return err
}
var errs []string