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:
parent
d7928b9a67
commit
dcf0279a50
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue