summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_healthcheck.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-08 13:04:23 -0400
committerGitHub <noreply@github.com>2021-04-08 13:04:23 -0400
commit3a03c2ec71799727ea062faab0cc18050ec8c85e (patch)
treef022ce712f09a11f98c6da9d7ec6b98c12d3c68c /pkg/api/server/register_healthcheck.go
parenta81b078a588fa5f9b5b42b2ffc894d00f06980c3 (diff)
parent4ceed6eb2f487899b19fade9cad01e5e8aaa7673 (diff)
downloadpodman-3a03c2ec71799727ea062faab0cc18050ec8c85e.tar.gz
podman-3a03c2ec71799727ea062faab0cc18050ec8c85e.tar.bz2
podman-3a03c2ec71799727ea062faab0cc18050ec8c85e.zip
Merge pull request #9121 from tmds/swagger_remove_name_wildcards
[NO TESTS NEEDED] swagger: remove name wildcards
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