forked from containers/podman
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API: kill: return 409 on invalid state
If the container isn't running, make sure to return 409 as specified in the Docker API [1] and the Podman reference. [1] https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerKill Fixes: containers#19368 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
- Loading branch information
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters