fix docker insert display
Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux) Upstream-commit: 2edcebc0275b726e87575830bb3e96dfb69d7665 Component: engine
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user