add check to avoid deleting unreflected blobs
This commit is contained in:
parent
013760d48d
commit
173e62d286
3 changed files with 6 additions and 3 deletions
blobs_reflector
|
@ -78,6 +78,9 @@ func reflectBlobs() error {
|
|||
if err != nil {
|
||||
return errors.Err(err)
|
||||
}
|
||||
if uploader.GetSummary().Err > 0 {
|
||||
return errors.Err("not al blobs were reflected. Errors: %d", uploader.GetSummary().Err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue