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

Switch to kingpin flags #639

Merged
merged 4 commits into from
Aug 12, 2017
Merged

Switch to kingpin flags #639

merged 4 commits into from
Aug 12, 2017

Conversation

carlpett
Copy link
Member

@carlpett carlpett commented Aug 12, 2017

This switches the flags to be provided by Kingpin, as discussed in prometheus#2455.

Most of it pretty straightforward, but I'd appreciate a check of the things that needed to be done in the tests where previously flag.Set was used. Especially the textfile test required pulling in the log package to continue working as before.

Note that this is a breaking change, since all flags change.

@SuperQ
Copy link
Member

SuperQ commented Aug 12, 2017

Please update all of the vendoring for github.com/prometheus/common/... to match the same commit.

@carlpett
Copy link
Member Author

Fixed!

Copy link
Member

@discordianfish discordianfish left a comment

Choose a reason for hiding this comment

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

LGTM

@SuperQ
Copy link
Member

SuperQ commented Aug 12, 2017

Thanks @carlpett!

@SuperQ SuperQ merged commit dfe07ea into prometheus:master Aug 12, 2017
oblitorum pushed a commit to shatteredsilicon/node_exporter that referenced this pull request Apr 9, 2024
* Switch to kingpin flags

* Fix logrus vendoring

* Fix flags in main tests

* Fix vendoring versions
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