mirror of
https://github.com/containers/podman.git
synced 2025-06-24 11:28:24 +08:00
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>
This commit is contained in:
@ -897,7 +897,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
|
|||||||
// - in: query
|
// - in: query
|
||||||
// name: signal
|
// name: signal
|
||||||
// type: string
|
// type: string
|
||||||
// default: TERM
|
// default: SIGKILL
|
||||||
// description: signal to be sent to container, either by integer or SIG_ name
|
// description: signal to be sent to container, either by integer or SIG_ name
|
||||||
// produces:
|
// produces:
|
||||||
// - application/json
|
// - application/json
|
||||||
@ -1291,11 +1291,6 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
|
|||||||
// required: true
|
// required: true
|
||||||
// description: the name or ID of the container
|
// description: the name or ID of the container
|
||||||
// - in: query
|
// - in: query
|
||||||
// name: all
|
|
||||||
// type: boolean
|
|
||||||
// default: false
|
|
||||||
// description: Stop all containers
|
|
||||||
// - in: query
|
|
||||||
// name: timeout
|
// name: timeout
|
||||||
// type: integer
|
// type: integer
|
||||||
// default: 10
|
// default: 10
|
||||||
|
Reference in New Issue
Block a user