summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_healthcheck.go
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2021-04-07 15:21:44 +0200
committerTom Deseyn <tom.deseyn@gmail.com>2021-04-07 15:21:44 +0200
commit71322d6c1fd4ebe81efeea5a0b8e1d11ef42aa29 (patch)
tree4eecbce2cedb7f8d3f2d76b5dfe045cb7f0af375 /pkg/api/server/register_healthcheck.go
parentb8a4494b102a84e21e267ad1242e4af9ca413f2f (diff)
downloadpodman-71322d6c1fd4ebe81efeea5a0b8e1d11ef42aa29.tar.gz
podman-71322d6c1fd4ebe81efeea5a0b8e1d11ef42aa29.tar.bz2
podman-71322d6c1fd4ebe81efeea5a0b8e1d11ef42aa29.zip
swagger: remove name wildcards
Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
Diffstat (limited to 'pkg/api/server/register_healthcheck.go')
-rw-r--r--pkg/api/server/register_healthcheck.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/server/register_healthcheck.go b/pkg/api/server/register_healthcheck.go
index e2fd5ac68..7d8541a51 100644
--- a/pkg/api/server/register_healthcheck.go
+++ b/pkg/api/server/register_healthcheck.go
@@ -8,7 +8,7 @@ import (
)
func (s *APIServer) registerHealthCheckHandlers(r *mux.Router) error {
- // swagger:operation GET /libpod/containers/{name:.*}/healthcheck libpod ContainerHealthcheckLibpod
+ // swagger:operation GET /libpod/containers/{name}/healthcheck libpod ContainerHealthcheckLibpod
// ---
// tags:
// - containers
@@ -16,7 +16,7 @@ func (s *APIServer) registerHealthCheckHandlers(r *mux.Router) error {
// description: Execute the defined healthcheck and return information about the results
// parameters:
// - in: path
- // name: name:.*
+ // name: name
// type: string
// required: true
// description: the name or ID of the container