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

main: exit on invalid rule files on startup. #768

Merged
merged 1 commit into from
Jun 2, 2015

Conversation

fabxc
Copy link
Contributor

@fabxc fabxc commented Jun 2, 2015

@brian-brazil
Copy link
Contributor

👍

fabxc added a commit that referenced this pull request Jun 2, 2015
main: exit on invalid rule files on startup.
@fabxc fabxc merged commit 3247052 into prometheus:master Jun 2, 2015
@fabxc fabxc deleted the fabxc/rule-err branch June 2, 2015 18:31
@grobie
Copy link
Member

grobie commented Jun 2, 2015

No tests?

@fabxc
Copy link
Contributor Author

fabxc commented Jun 3, 2015

Rule parsing is tested extensively. We've had no tests for main before – of course we can always have more.

This PR is basically about setting a boolean.
If anything, its about testing main.go in general.

simonpasquier pushed a commit to simonpasquier/prometheus that referenced this pull request Oct 12, 2017
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