summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_containers.go
diff options
context:
space:
mode:
authorToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-09-02 19:21:20 +0900
committerToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-09-02 19:21:20 +0900
commit875fd485806bd350a25714548094174bcdb4ea3b (patch)
tree8aeeca12ff1e3d9002a7c9a8fad7265e1562cf3b /pkg/api/server/register_containers.go
parent9ab6449e36792734853eb59161ccd3bfe5d0d509 (diff)
downloadpodman-875fd485806bd350a25714548094174bcdb4ea3b.tar.gz
podman-875fd485806bd350a25714548094174bcdb4ea3b.tar.bz2
podman-875fd485806bd350a25714548094174bcdb4ea3b.zip
Fix swagger documentation
* ContainerKillLibpod "signal" query default is SIGKILL. * ContainerListLibpod "namespace" query is failed to show. * SecretListLibpod parameters is duplicated. * SecretList parameters is duplicated. [NO NEW TESTS NEEDED] Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
Diffstat (limited to 'pkg/api/server/register_containers.go')
-rw-r--r--pkg/api/server/register_containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index 41baf5418..7e9c02816 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -212,7 +212,6 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// - in: query
// name: signal
// type: string
- // default: TERM
// description: signal to be sent to container
// default: SIGKILL
// produces:
@@ -723,6 +722,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// type: boolean
// description: Include namespace information
// default: false
+ // - in: query
// name: pod
// type: boolean
// default: false