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 mc stat with --versions flag to show versionID correctly #3471

Merged
merged 1 commit into from Oct 27, 2020

Conversation

poornas
Copy link
Contributor

@poornas poornas commented Oct 27, 2020

If --versions flag is specified, instead of HEAD on each version, currently
repeated listing is being done and latest version ID reported
for all the versions instead of actual version ID.

mc stat source/bucket/obj --versions

Copy link
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

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

LGTM but with one comment

cmd/client-s3.go Outdated Show resolved Hide resolved
If --versions flag is specified, instead of HEAD currently
repeated listing is being done and latest version ID reported
for all the versions instead of actual version ID.
Copy link
Collaborator

@kannappanr kannappanr left a comment

Choose a reason for hiding this comment

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

LGTM

@harshavardhana harshavardhana merged commit 7838365 into minio:master Oct 27, 2020
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.

None yet

4 participants