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 Exit code for -config.verify #3174

Merged
merged 3 commits into from
Nov 23, 2023
Merged

Fix Exit code for -config.verify #3174

merged 3 commits into from
Nov 23, 2023

Conversation

agrib-01
Copy link
Contributor

@agrib-01 agrib-01 commented Nov 23, 2023

What this PR does:
This PR corrects the exit status behavior in Tempo. Now, when -config.verify=true is used and the configuration is valid, the application will exit with status 0.

Which issue(s) this PR fixes:
Fixes #3172

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Member

@mapno mapno left a comment

Choose a reason for hiding this comment

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

Oh wow, I wonder how long we've had this bug for.

Thanks for the fix!

CHANGELOG.md Outdated Show resolved Hide resolved
link to the PR
@agrib-01
Copy link
Contributor Author

Oh wow, I wonder how long we've had this bug for.

Thanks for the fix!

Not for too long. This issue wasn't present in version 2.2.3 :D

@agrib-01 agrib-01 requested a review from mapno November 23, 2023 14:40
@mapno mapno merged commit 65bd908 into grafana:main Nov 23, 2023
14 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.

Tempo Incorrectly Exits with Code 1 When -config.verify is Set and Config is Valid
2 participants