better info msg

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-01-21 11:56:56 +01:00
parent 7cba18fe08
commit 0873f86842
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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,