fix piped image info missing image id

This commit is contained in:
Nate Jones 2016-06-10 21:14:36 -07:00
parent ed784c7a95
commit e619ee311a

View file

@ -63,6 +63,22 @@ func (x *ImagesCommand) Execute(args []string) error {
return err
}
var ims []Image
for _, image := range *images {
ims = append(ims, Image{
image.Id,
image.ParentId,
image.RepoTags,
image.VirtualSize,
image.Size,
image.Created,
image.Id,
"",
})
}
images = &ims
} else {
client, err := connect()