Skip to content

Fix Exit code for -config.verify - #3174

Merged
mapno merged 3 commits into
grafana:mainfrom
agrib-01:main
Nov 23, 2023
Merged

Fix Exit code for -config.verify#3174
mapno merged 3 commits into
grafana:mainfrom
agrib-01:main

Conversation

@agrib-01

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

Copy link
Copy Markdown
Contributor

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]

@mapno mapno left a comment

Copy link
Copy Markdown
Contributor

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!

Comment thread CHANGELOG.md Outdated
link to the PR
@agrib-01

Copy link
Copy Markdown
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
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* bugfix(SPI-1630): fix exit status if config is valid

* Update CHANGELOG.md

link to the PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants