diff options
author | bklimenko <bklimenko@stream.ru> | 2019-10-15 19:05:15 +0300 |
---|---|---|
committer | bklimenko <bklimenko@stream.ru> | 2019-10-16 15:16:59 +0300 |
commit | b4124485ae7e327fe3081847a88d83b8b49e6804 (patch) | |
tree | 9e8a3c89a3ceaed1eb42f50d0fad5a90319f9529 /pkg/adapter | |
parent | 5f72e6ef2ef7b6941cefc3c655903aeacb53e115 (diff) | |
download | podman-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>
Diffstat (limited to 'pkg/adapter')
-rw-r--r-- | pkg/adapter/containers.go | 2 |
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 } |