diff --git a/src/NuGetGallery.Core/Services/CloudBlobCoreFileStorageService.cs b/src/NuGetGallery.Core/Services/CloudBlobCoreFileStorageService.cs index 4362906f13..177e03fa09 100644 --- a/src/NuGetGallery.Core/Services/CloudBlobCoreFileStorageService.cs +++ b/src/NuGetGallery.Core/Services/CloudBlobCoreFileStorageService.cs @@ -84,8 +84,6 @@ public async Task GetFileReferenceAsync(string folderName, strin throw new ArgumentNullException(nameof(fileName)); } - ICloudBlobContainer container = await GetContainerAsync(folderName); - var blob = container.GetBlobReference(fileName); var result = await GetBlobContentAsync(folderName, fileName, ifNoneMatch); if (result.StatusCode == HttpStatusCode.NotModified) {