Incorporate changes from Edvard PR

This commit is contained in:
Andrew J Yao 2019-07-17 16:07:55 -07:00
parent 92d153b010
commit a188e1dd79

View File

@ -66,9 +66,8 @@ func Execute() {
} }
func initFuncs(cmd *cobra.Command, args []string) { func initFuncs(cmd *cobra.Command, args []string) {
database(cmd, args) database()
logLvlErr := logLevel()
logLvlErr := logLevel(cmd, args)
if logLvlErr != nil { if logLvlErr != nil {
log.Fatal("Could not set log level: ", logLvlErr) log.Fatal("Could not set log level: ", logLvlErr)
} }