From 958f90143199bbc4b5dcd7ad4fffdd56d3f6fbc3 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 16 Feb 2021 07:01:14 -0500 Subject: 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 --- cmd/podman/containers/kill.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') 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) } -- cgit v1.2.3-54-g00ecf