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 empty version in health report download #3341

Merged
merged 3 commits into from May 17, 2024
Merged

Conversation

anjalshireesh
Copy link
Contributor

In the "Download" option after generating health report, the version header was getting printed with an empty version number. This was happening because the version variable was shadowed inside a for loop.

Couple of other improvements:

  • avoid gzipping the health info twice
  • do not maintain list of tests to perform in console, simply use list of all tests from madmin

In the "Download" option after generating health report, the version
header was getting printed with an empty version number. This was
happening because the version variable was shadowed inside a for loop.

Couple of other improvements:
- avoid gzipping the health info twice
- do not maintain list of tests to perform in console, simply use list
  of all tests from madmin
Copy link
Member

@prakashsvmx prakashsvmx left a comment

Choose a reason for hiding this comment

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

Verified. Able to download from console and upload health to SUBNET

{"version":"3"}
{"version":"3","timestamp":"2024-05-17T07:05:36.632919482Z",
...
}

@bexsoft bexsoft merged commit 779f2a8 into minio:master May 17, 2024
31 of 33 checks passed
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