Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix BlobContainerClient.CreateIfNotExists returns null if container already exists #160

Conversation

Arkatufus
Copy link
Contributor

@Arkatufus Arkatufus commented Apr 20, 2021

Closes #159

@@ -102,15 +102,24 @@ private async Task<BlobContainerClient> InitCloudStorage(int remainingTries)

return blobClient;
}

var response = await blobClient.CreateIfNotExistsAsync(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line returns null if said container already exists

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb merged commit e214f59 into petabridge:dev Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using development connection fails when attempting to check for Azure storage
2 participants