提交 211e3b0c 编写于 作者: S Sébastien Coavoux 提交者: Sebastien Coavoux

Add: flag.CommandLine.Parse at start for glog initialization

上级 e153a8ce
......@@ -41,6 +41,7 @@ var (
func main() {
pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
pflag.Parse()
flag.CommandLine.Parse(make([]string,0)) // Init for glog calls in kubernetes packages
log.Printf("Starting HTTP server on port %d", *argPort)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册