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
[azblob] BlobURLParts does not support VersionID #17188
Comments
Thanks for this report @hy3. Currently there maynot be a way to do this other than edit URL @mohsha-msft to confirm. |
Hey @hy3 , Thanks for reaching out! Yes this is indeed a bug at our end. Somehow it got escaped from our tests. I apologize for inconvenience. I've raised a request to fix it and added more tests to make sure this doesn't happen in future. We'll ship it in next release. In the meantime, you can pull the changes from my branch by using the command
Please reach out for any clarification! |
@mohsha-msft @amishra-dev |
@mohsha-msft This is example in |
Fixed in main. Target release for next release. @hy3, can you give it a try and let me know if the issue is persisting? |
@mohsha-msft However, through my trying, I found that |
Yes that's correct. It'll be fixed too.. I'm glad it worked for your. I am sorry for the inconviniece caused. As you know we're still in preview version and still trying things. I will appreciate your efforts/feedbacks on the findings. |
Thanks a lot ! The SDK is already a big help for me. I'll continue to use it and give feedback on it. |
Hey @hy3 , azblob v0.4.0 is now publically available. I have fixed the issue here and here. Please reach out and reopen the issue if it still persists. Thanks a lot for your feedbacks! |
Bug Report
.../sdk/storage/azblob
v0.3.0
go1.17.6 darwin/amd64
I'm using Azure Blob Storage with version management, and want to download old version with this SDK. So, I tried to use
BlobClient.WithVersionID()
orBlobURLParts.VersionID
, but both of them didn't work.Because
BlobURLParts
outputs URL without VersionID, nevertheless preview SDK does it. ( ref. )If it is as expected, please tell me how to download blob by Version ID with the SDK.
I avoiding this issue by editing URL directly, but It doesn't look smart way.
The text was updated successfully, but these errors were encountered: