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 duplicate API call on obj.Stat() #2028

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

OrkhanAlikhanov
Copy link
Contributor

@OrkhanAlikhanov OrkhanAlikhanov commented Dec 3, 2024

Should fix #2027

Created to convey the idea. Not tested, nor wrote tests

Tested locally using replace github.com/minio/minio-go/v7 v7.0.82 => github.com/OrkhanAlikhanov/minio-go/v7 patch-1. Works as expected

@OrkhanAlikhanov OrkhanAlikhanov changed the title Fix duplicate API calls on obj.Stat() Fix duplicate API call on obj.Stat() Dec 3, 2024
@harshavardhana harshavardhana merged commit 143808c into minio:master Dec 3, 2024
5 checks passed
@OrkhanAlikhanov OrkhanAlikhanov deleted the patch-1 branch December 3, 2024 23:11
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.

Calling Object.Stat after io.ReadAll(obj) makes another request
3 participants