cmd/ctr: show resolved image platform

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day
2017-09-13 12:36:24 -07:00
parent 8785f3f002
commit ea8adf9021
4 changed files with 57 additions and 7 deletions

View File

@@ -39,7 +39,9 @@ command. As part of this process, we do the following:
// TODO: Show unpack status
fmt.Printf("unpacking %s...\n", img.Target().Digest)
err = img.Unpack(ctx, clicontext.String("snapshotter"))
fmt.Println("done")
if err == nil {
fmt.Println("done")
}
return err
},
}