Skip to content

Commit

Permalink
Fix swagger documentation
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
sstosh committed Sep 9, 2022
1 parent 6d8bafe commit 27be5ea
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/api/server/register_containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 27be5ea

Please sign in to comment.