Skip to content

Add ContainerClient::exists method #1126

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

Merged
merged 1 commit into from
Oct 17, 2022
Merged

Conversation

rylev
Copy link
Contributor

@rylev rylev commented Oct 17, 2022

Fixes #1123

In addition to adding the method, it also refactors BlobClient::exits to return an error on any http error code that is not a 404. Previously this method would have return false even if the blob existed, but the endpoint returned a 5xx.

@rylev rylev requested a review from bmc-msft October 17, 2022 10:03
@bmc-msft bmc-msft merged commit b8ced72 into Azure:main Oct 17, 2022
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.

Storage SDK ContainerClient exists?
2 participants