Flatten aggregated errors

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
pull/250/head
Andy Goldstein 2017-12-21 11:56:33 -05:00
parent 1e581f1ead
commit 0fc087c967
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ func (kb *kubernetesBackupper) Backup(backup *api.Backup, backupFile, logFile io
}
}
err = kuberrs.NewAggregate(errs)
err = kuberrs.Flatten(kuberrs.NewAggregate(errs))
if err == nil {
log.Infof("Backup completed successfully")
} else {