Fix crash tickled by supplying partial image id.
This commit is contained in:
parent
c4fa776981
commit
9628e24320
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue