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

fix "images -a"

This commit is contained in:
Nate Jones 2013-10-06 16:36:38 +00:00
parent d7928b9a67
commit dcf0279a50

View file

@ -330,6 +330,7 @@ func (srv *Server) Images(all bool, filter string) ([]APIImages, error) {
for _, image := range allImages {
var out APIImages
out.ID = image.ID
out.RepoTags = []string{"<none>:<none>"}
out.Created = image.Created.Unix()
out.Size = image.Size
out.VirtualSize = image.getParentsSize(0) + image.Size