1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #2763 from dotcloud/use_full_id_delete

Do ont truncate ID on docker rmi
This commit is contained in:
Guillaume J. Charmes 2013-11-21 14:39:38 -08:00
commit 42c23b0f04

View file

@ -1421,8 +1421,8 @@ func (srv *Server) deleteImageAndChildren(id string, imgs *[]APIRmi) error {
if err != nil {
return err
}
*imgs = append(*imgs, APIRmi{Deleted: utils.TruncateID(id)})
srv.LogEvent("delete", utils.TruncateID(id), "")
*imgs = append(*imgs, APIRmi{Deleted: id})
srv.LogEvent("delete", id, "")
return nil
}
return nil