aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-09-09 14:53:34 +0900
committerToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-09-09 15:15:54 +0900
commit27be5eaaf205edb68824ff31b5fa67a9bc5a9d0c (patch)
treefa9b871e306c72fabcaa4c682a8a0ab728812c8c /pkg
parent6d8bafe57a65970ead17a83cb1983629b3a2aedb (diff)
downloadpodman-27be5eaaf205edb68824ff31b5fa67a9bc5a9d0c.tar.gz
podman-27be5eaaf205edb68824ff31b5fa67a9bc5a9d0c.tar.bz2
podman-27be5eaaf205edb68824ff31b5fa67a9bc5a9d0c.zip
Fix swagger documentation
* ContainerKillLibpod "signal" query default is SIGKILL. * ContainerStopLibpod "all" query doesn't exist. [NO NEW TESTS NEEDED] Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/server/register_containers.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index 7e9c02816..311eecd17 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -897,7 +897,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// - in: query
// name: signal
// type: string
- // default: TERM
+ // default: SIGKILL
// description: signal to be sent to container, either by integer or SIG_ name
// produces:
// - application/json
@@ -1291,11 +1291,6 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// required: true
// description: the name or ID of the container
// - in: query
- // name: all
- // type: boolean
- // default: false
- // description: Stop all containers
- // - in: query
// name: timeout
// type: integer
// default: 10