-
Notifications
You must be signed in to change notification settings - Fork 689
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
bug: does cmd/contour have to call flag.Parse unconditionally #113
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Comments
davecheney
added
kind/bug
Categorizes issue or PR as related to a bug.
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
labels
Dec 18, 2017
I'll take a look at this. Is the glog implicit dependency confirmed or simply suspected at this moment? |
We get it for free with client-go.
…On Tue, Dec 19, 2017 at 10:57 AM, Will Madison ***@***.***> wrote:
I'll take a look at this. Is the glog implicit dependency confirmed or
simply suspected at this moment?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#113 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAcA_wmk0CqcgaSundAYmj8BhRLdIxnks5tBvwCgaJpZM4RE3BT>
.
|
Kewl I'll investigate further. I'd like to add an appropriate test for this bug but it sounds like it's as simple as adding an innocuous call to flag.Parse() but I'll look into it |
I'm fine with not having a test for this, a sufficiently scarey comment in
cmd/contour/contour.go will do
// we need this because (long rant about how glog is terrible)
func init() {
flag.Parse()
}
…On Tue, Dec 19, 2017 at 11:07 AM, Will Madison ***@***.***> wrote:
Kewl I'll investigate further. I'd like to add an appropriate test for
this bug but it sounds like it's as simple as adding an innocuous call to
flag.Parse() but I'll look into it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#113 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAcA-QtmsHb8QOYkolDeUhMLHakk--cks5tBv5NgaJpZM4RE3BT>
.
|
Fair enough. PR coming in just a sec... |
willmadison
added a commit
to willmadison/contour
that referenced
this issue
Dec 19, 2017
…t in package main. Signed-off-by: Will <[email protected]>
willmadison
added a commit
to willmadison/contour
that referenced
this issue
Dec 19, 2017
…t in package main. Signed-off-by: Will <[email protected]>
willmadison
added a commit
to willmadison/contour
that referenced
this issue
Dec 19, 2017
… correctly at startup of cmd/contour Signed-off-by: Will Madison <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
cmd/contour uses kingpin, not flag, but I suspect the glog infection via client-go requires flag.Parse to be called unconditionally.
The text was updated successfully, but these errors were encountered: