diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-02-16 07:01:14 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-02-16 09:47:38 -0500 |
commit | 958f90143199bbc4b5dcd7ad4fffdd56d3f6fbc3 (patch) | |
tree | 4eaaf18c511d9e3e05a58ca47039333bd4c86ee3 /cmd | |
parent | 58a4793bec30058f648dcd1248da333a7bb6d47c (diff) | |
download | podman-958f90143199bbc4b5dcd7ad4fffdd56d3f6fbc3.tar.gz podman-958f90143199bbc4b5dcd7ad4fffdd56d3f6fbc3.tar.bz2 podman-958f90143199bbc4b5dcd7ad4fffdd56d3f6fbc3.zip |
podman kill should report rawInput not container id
Docker always reports back the users input, not the full
id, we should do the same.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/containers/kill.go | 2 |
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) } |