Skip to content

Commit

Permalink
fix docker insert display
Browse files Browse the repository at this point in the history
Docker-DCO-1.1-Signed-off-by: Victor Vieux <[email protected]> (github: vieux)
  • Loading branch information
vieux committed Jan 15, 2014
1 parent 44b8d8a commit 2edcebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ func (srv *Server) ImageInsert(job *engine.Job) engine.Status {
return engine.StatusErr
}

if err := c.Inject(utils.ProgressReader(file.Body, int(file.ContentLength), out, sf, false, "", "Downloading"), path); err != nil {
if err := c.Inject(utils.ProgressReader(file.Body, int(file.ContentLength), out, sf, false, utils.TruncateID(img.ID), "Downloading"), path); err != nil {
job.Error(err)
return engine.StatusErr
}
Expand Down

0 comments on commit 2edcebc

Please sign in to comment.