From 7966b42169d8404b959364cbc77564bc5d09d3f7 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 12 Nov 2019 20:19:25 +0100 Subject: [PATCH] fix(cmd): pass logger --- cmd/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/root.go b/cmd/root.go index adda83f..93952de 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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")