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

minio : Use no. of objects for Exists check #1276

Merged
merged 6 commits into from
Jun 7, 2019

Conversation

marpio
Copy link
Member

@marpio marpio commented Jun 7, 2019

What is the problem I am trying to address?
Currently our storage.Exists implementation checks only for the mod file. This can be problematic if i.e. zip or info uploads failed.

How is the fix applied?

I'm checking if the len of objects equals 3 (zip, mod, info)

@marpio marpio requested a review from a team as a code owner June 7, 2019 12:36
Copy link
Contributor

@marwan-at-work marwan-at-work left a comment

Choose a reason for hiding this comment

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

lgtm, just the one comment

Copy link
Member

@arschles arschles left a comment

Choose a reason for hiding this comment

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

@marpio awesome, thank you 🎉 :shipit:

@arschles arschles merged commit 5cec5f6 into gomods:master Jun 7, 2019
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.

3 participants