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

Do not fetch grafana version when it is already specified via config #273

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pmorelli92
Copy link

As mentioned before in #184 Amazon Managed Grafana does not support the api/health endpoint. The mentioned PR did a fix to not do the health check but the same call was still being used to fetch the grafana version. This was making the backup to fail for any Amazon Grafana users.

In the codebase the GRAFANA_VERSION was already being parsed in different places but then the API call took precedence even when it was defined. So in this PR I basically made a conditional to not fetch the version with API calls if it is defined.

@pmorelli92
Copy link
Author

@ysde would I be able to get your review on this one?

@melouaer
Copy link
Contributor

melouaer commented Sep 16, 2024

Thanks @pmorelli92 for the fix. I encountered the same bug.

@PaperAndIron
Copy link

Bump on this. Encountered the same bug.

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