From b641eb979eab75919deebed9774b07f9bdd779cb Mon Sep 17 00:00:00 2001 From: Mayuresh Gaitonde Date: Wed, 21 Nov 2018 11:25:34 -0800 Subject: [PATCH] fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8955572..125a644 100644 --- a/main.go +++ b/main.go @@ -18,10 +18,10 @@ var ( ) func main() { + flag.Parse() if glog.V(4) { log.SetLevel(log.DebugLevel) } - flag.Parse() conf := c.GetConfig(*config) mon := controller.NewMonitor(conf) srv := server.NewServer(conf.Agent.ListenAddr, mon)