fix(cmd): pass logger
This commit is contained in:
parent
f0fa50af90
commit
7966b42169
@ -44,6 +44,7 @@ var rootCmd = &cobra.Command{
|
|||||||
flogger = logger.NewDefaultLogger(logger.LogLevelDebug)
|
flogger = logger.NewDefaultLogger(logger.LogLevelDebug)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
hub.SetLogger(flogger)
|
||||||
|
|
||||||
if len(dockerHubUser) <= 0 {
|
if len(dockerHubUser) <= 0 {
|
||||||
flogger.Fatal("No user defined over flags")
|
flogger.Fatal("No user defined over flags")
|
||||||
|
Loading…
Reference in New Issue
Block a user