Skip to content

Commit

Permalink
Fix naming in azure storage device (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
badrishc authored Mar 11, 2023
1 parent a6c0dfa commit 519533b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void Delete(FileDescriptor fileInfo)
if (fileInfo.fileName != null)
{
// We delete all files with fileName prefix, since shards have extensions as .0, .1, etc.
foreach (var blob in dir.GetBlobsAsync(fileInfo.fileName, default).GetAwaiter().GetResult())
foreach (var blob in dir.GetBlobsAsync(fileInfo.fileName + ".", default).GetAwaiter().GetResult())
{
BlobUtilsV12.ForceDeleteAsync(pageBlobContainer.Default, blob).GetAwaiter().GetResult();
}
Expand Down

0 comments on commit 519533b

Please sign in to comment.