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 default values applied to Config #556

Merged
merged 1 commit into from
Apr 22, 2021
Merged

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Apr 22, 2021

PR #546 introduced a default value for the overall Config struct which
overwrote the defaults coming from flags. This commit ensures that
flag-level defaults take precedence.

PR Description

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

(Not updating changelog since the bug was introduced before a tag)

  • CHANGELOG updated
  • Documentation added
  • Tests updated

PR grafana#546 introduced a default value for the overall Config struct which
overwrote the defaults coming from flags. This commit ensures that
flag-level defaults take precedence.
@rfratto rfratto merged commit 3f6fa5f into grafana:main Apr 22, 2021
@mattdurham mattdurham mentioned this pull request Sep 7, 2021
3 tasks
mattdurham pushed a commit that referenced this pull request Nov 11, 2021
PR #546 introduced a default value for the overall Config struct which
overwrote the defaults coming from flags. This commit ensures that
flag-level defaults take precedence.
@rfratto rfratto deleted the defaults-fix branch March 14, 2022 18:18
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Apr 2, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants