summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbklimenko <bklimenko@stream.ru>2019-10-15 19:05:15 +0300
committerbklimenko <bklimenko@stream.ru>2019-10-16 15:16:59 +0300
commitb4124485ae7e327fe3081847a88d83b8b49e6804 (patch)
tree9e8a3c89a3ceaed1eb42f50d0fad5a90319f9529
parent5f72e6ef2ef7b6941cefc3c655903aeacb53e115 (diff)
downloadpodman-b4124485ae7e327fe3081847a88d83b8b49e6804.tar.gz
podman-b4124485ae7e327fe3081847a88d83b8b49e6804.tar.bz2
podman-b4124485ae7e327fe3081847a88d83b8b49e6804.zip
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>
-rw-r--r--pkg/adapter/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/containers.go b/pkg/adapter/containers.go
index e67cc03ba..12fd98486 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
}