summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-30 12:19:34 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-30 12:23:19 +0200
commit9d373408b57d42a9677eac6f268bfd443a67251c (patch)
tree1fb173a8820105929fb013c1df876ebe4e11f4af /cmd/podman
parent1d34977b4c5af444a044ab9ae72ce72226147fc9 (diff)
downloadpodman-9d373408b57d42a9677eac6f268bfd443a67251c.tar.gz
podman-9d373408b57d42a9677eac6f268bfd443a67251c.tar.bz2
podman-9d373408b57d42a9677eac6f268bfd443a67251c.zip
podman, start: propagate back the raw input
this is necessary as we expect "podman start $ID_NAME" to print the same arguments the user passed in instead of the full ID. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/containers/start.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/containers/start.go b/cmd/podman/containers/start.go
index 381bf8e26..ce78d24ed 100644
--- a/cmd/podman/containers/start.go
+++ b/cmd/podman/containers/start.go
@@ -99,7 +99,7 @@ func start(cmd *cobra.Command, args []string) error {
for _, r := range responses {
if r.Err == nil {
- fmt.Println(r.Id)
+ fmt.Println(r.RawInput)
} else {
errs = append(errs, r.Err)
}