Merge remote-tracking branch 'cswarth/fix-partial-imageid'

This commit is contained in:
Nate Jones 2015-08-17 19:39:15 -07:00
commit 1efd686bd3

View file

@ -101,7 +101,7 @@ func (x *ImagesCommand) Execute(args []string) error {
for _, image := range *images {
// check if the start image arg matches an image id
if strings.Index(image.Id, startImageArg) == 0 {
startImage = startImageArg
startImage = image.Id
break IMAGES
}