From 0873f868425038c692d08e7490d1e1d9b1869c3f Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Thu, 21 Jan 2016 11:56:56 +0100 Subject: [PATCH] better info msg Signed-off-by: Antonio Murdaca --- README.md | 1 + inspect.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 56151374..9822d6aa 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ You can also grab a binary, built for _linux x86_64_, from the releases page, or ```sh $ export RELEASE=0.0.1 $ wget https://github.com/runcom/skopeo/releases/download/v$RELEASE/skopeo +$ chmod +x skopeo $ sudo mv skopeo /usr/local/bin/skopeo ``` TODO diff --git a/inspect.go b/inspect.go index 671d18ee..4217dab1 100644 --- a/inspect.go +++ b/inspect.go @@ -217,7 +217,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 not found: %v, falling back to --username and --password", err) + logrus.Infof("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,