Skip to content

Commit 211e3b0

Browse files
Sébastien CoavouxSebastien Coavoux
authored andcommitted
Add: flag.CommandLine.Parse at start for glog initialization
1 parent e153a8c commit 211e3b0

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)