fix(cmd): pass logger

This commit is contained in:
Markus Pesch 2019-11-12 20:19:25 +01:00
parent f0fa50af90
commit 7966b42169
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -44,6 +44,7 @@ var rootCmd = &cobra.Command{
flogger = logger.NewDefaultLogger(logger.LogLevelDebug)
break
}
hub.SetLogger(flogger)
if len(dockerHubUser) <= 0 {
flogger.Fatal("No user defined over flags")