Skip to content

Commit cbe5986

Browse files
committed
Merge pull request #737 from titilambert/glog_init
Add: flag.CommandLine.Parse at start for glog initialization
2 parents e153a8c + 211e3b0 commit cbe5986

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/backend/dashboard.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ var (
4141
func main() {
4242
pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
4343
pflag.Parse()
44+
flag.CommandLine.Parse(make([]string,0)) // Init for glog calls in kubernetes packages
4445

4546
log.Printf("Starting HTTP server on port %d", *argPort)
4647

0 commit comments

Comments
 (0)