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 /pkg/domain/entities | |
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 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/containers.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go index b89c42eab..116da888d 100644 --- a/pkg/domain/entities/containers.go +++ b/pkg/domain/entities/containers.go @@ -110,8 +110,9 @@ type KillOptions struct { } type KillReport struct { - Err error - Id string //nolint + Err error + Id string //nolint + RawInput string } type RestartOptions struct { |