Use default no-op uuid.Loggerf for client cli
Signed-off-by: Tibor Vass <tibor@docker.com> Upstream-commit: 3face3c521127cb86570c68d5f2a8f55e7633146 Component: engine
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/docker/distribution/uuid"
|
||||
"github.com/docker/docker/cli"
|
||||
"github.com/docker/docker/cliconfig"
|
||||
"github.com/docker/docker/opts"
|
||||
@@ -100,9 +99,6 @@ func NewDockerCli(in io.ReadCloser, out, err io.Writer, clientFlags *cli.ClientF
|
||||
|
||||
cli.init = func() error {
|
||||
|
||||
// ignore errors from uuid package when running client commands
|
||||
uuid.Loggerf = func(string, ...interface{}) {}
|
||||
|
||||
clientFlags.PostParse()
|
||||
|
||||
hosts := clientFlags.Common.Hosts
|
||||
|
||||
Reference in New Issue
Block a user