summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-16 16:08:26 -0500
committerGitHub <noreply@github.com>2021-02-16 16:08:26 -0500
commitfb6f1439467544a5fa9ea599a3ef6ab5c721a3c7 (patch)
tree77f1f313bdb1e9802a8172d56d7ec45b3db509d1 /cmd
parent7fb347a3d40afeb4c565c2066fbade7f003e3e50 (diff)
parent958f90143199bbc4b5dcd7ad4fffdd56d3f6fbc3 (diff)
downloadpodman-fb6f1439467544a5fa9ea599a3ef6ab5c721a3c7.tar.gz
podman-fb6f1439467544a5fa9ea599a3ef6ab5c721a3c7.tar.bz2
podman-fb6f1439467544a5fa9ea599a3ef6ab5c721a3c7.zip
Merge pull request #9401 from rhatdan/stop
podman kill should report rawInput not container id
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/containers/kill.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/containers/kill.go b/cmd/podman/containers/kill.go
index 36e3e5f59..990a6e3e7 100644
--- a/cmd/podman/containers/kill.go
+++ b/cmd/podman/containers/kill.go
@@ -111,7 +111,7 @@ func kill(_ *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)
}