From 4ee4ba7a628cc382174c33250876c69b239b2c37 Mon Sep 17 00:00:00 2001 From: Robert Lippens Date: Wed, 14 Aug 2019 09:59:59 -0700 Subject: [PATCH] delete snapshots of blob along with the blob --- store/logs/azureblob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/logs/azureblob.go b/store/logs/azureblob.go index 39a58278..a0f10b15 100644 --- a/store/logs/azureblob.go +++ b/store/logs/azureblob.go @@ -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 }