mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -05:00
Better error messaging and logging for v2 registry requests
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan) Upstream-commit: d277714614f62dba276227f70cc2a47eac6e02e7 Component: engine
This commit is contained in:
@@ -411,7 +411,7 @@ func (s *TagStore) CmdPush(job *engine.Job) engine.Status {
|
||||
}
|
||||
|
||||
// error out, no fallback to V1
|
||||
return job.Error(err)
|
||||
return job.Errorf("Error pushing to registry: %s", err)
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user