From 9628e2432020c065cdf382c32c3b0082e005d352 Mon Sep 17 00:00:00 2001 From: chris warth Date: Wed, 5 Aug 2015 11:03:04 -0700 Subject: [PATCH] Fix crash tickled by supplying partial image id. --- images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images.go b/images.go index bfe3289..1af9d0b 100644 --- a/images.go +++ b/images.go @@ -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 }