fixes from review

This commit is contained in:
Ethan Buchman
2017-05-05 12:25:10 -04:00
parent 2a9e89b34f
commit edd7263f06
2 changed files with 1 additions and 7 deletions

View File

@@ -9,12 +9,11 @@ import (
)
var (
config *cfg.Config
config = cfg.DefaultConfig()
log = logger.New("module", "main")
)
func init() {
config = cfg.DefaultConfig()
RootCmd.PersistentFlags().String("log_level", config.LogLevel, "Log level")
}