From b4124485ae7e327fe3081847a88d83b8b49e6804 Mon Sep 17 00:00:00 2001 From: bklimenko Date: Tue, 15 Oct 2019 19:05:15 +0300 Subject: [PATCH] start: print full container ID Now the "podman start" command prints the full ID and has the same behaviour as other commands. Signed-off-by: Boris Klimenko <2@borisklimenko.ru> --- pkg/adapter/containers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/adapter/containers.go b/pkg/adapter/containers.go index e67cc03baf..12fd98486b 100644 --- a/pkg/adapter/containers.go +++ b/pkg/adapter/containers.go @@ -663,7 +663,7 @@ func (r *LocalRuntime) Start(ctx context.Context, c *cliconfig.StartValues, sigP lastError = errors.Wrapf(err, "unable to start container %q", container) continue } - fmt.Println(container) + fmt.Println(ctr.ID()) } return exitCode, lastError }