fix "images -a"

Upstream-commit: dcf0279a50e7a2eca97b205725df474a516b8f79
Component: engine
This commit is contained in:
Nate Jones
2013-11-06 03:58:15 +00:00
parent b5c0cbf917
commit 08d9fe490e
+1
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