move infof to debugf to not clutter stderr

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2016-02-01 17:45:19 +01:00
parent 55804fad16
commit 8d22756979

View File

@@ -213,7 +213,7 @@ func getAuthConfig(c *cli.Context, index *registryTypes.IndexInfo) (types.AuthCo
cfg = c.GlobalString("docker-cfg")
)
if _, err := os.Stat(cfg); err != nil {
logrus.Infof("Docker cli config file %q not found: %v, falling back to --username and --password if needed", cfg, err)
logrus.Debugf("Docker cli config file %q not found: %v, falling back to --username and --password if needed", cfg, err)
return types.AuthConfig{
Username: username,
Password: password,