delete snapshots of blob along with the blob
This commit is contained in:
parent
35b2e16c5c
commit
4ee4ba7a62
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func (az *azureBlobStore) Delete(ctx context.Context, step int64) error {
|
|||
return err
|
||||
}
|
||||
blobURL := az.containerURL.NewBlockBlobURL(fmt.Sprintf("%d", step))
|
||||
_, err = blobURL.Delete(ctx, azblob.DeleteSnapshotsOptionNone, azblob.BlobAccessConditions{})
|
||||
_, err = blobURL.Delete(ctx, azblob.DeleteSnapshotsOptionInclude, azblob.BlobAccessConditions{})
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue