Fix glog initialization error
This commit is contained in:
parent
ab6db02cd6
commit
6ff367910e
2 changed files with 4 additions and 1 deletions
|
|
@ -109,6 +109,9 @@ func NewIngressController(backend ingress.Controller) *GenericController {
|
|||
flags.AddGoFlagSet(flag.CommandLine)
|
||||
backend.ConfigureFlags(flags)
|
||||
flags.Parse(os.Args)
|
||||
// Workaround for this issue:
|
||||
// https://github.com/kubernetes/kubernetes/issues/17162
|
||||
flag.CommandLine.Parse([]string{})
|
||||
backend.OverrideFlags(flags)
|
||||
|
||||
flag.Set("logtostderr", "true")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue