summaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-21 11:21:59 -0400
committerGitHub <noreply@github.com>2020-07-21 11:21:59 -0400
commitbe5219ab9529c596421dd19bb61cdd2ced267ece (patch)
tree0a0ab222ce72e60cf69aa85ec10fa7026cbbafe3 /pkg/api
parentf8e2a3500e3daadf21137d1647cabf9ef20b2114 (diff)
parent5d25d1808ab74d3f4f379e485430ac6bd53656f2 (diff)
downloadpodman-be5219ab9529c596421dd19bb61cdd2ced267ece.tar.gz
podman-be5219ab9529c596421dd19bb61cdd2ced267ece.tar.bz2
podman-be5219ab9529c596421dd19bb61cdd2ced267ece.zip
Merge pull request #7035 from ashley-cui/api_gen
Fix Generate API swagger title/description
Diffstat (limited to 'pkg/api')
-rw-r--r--pkg/api/server/register_generate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/server/register_generate.go b/pkg/api/server/register_generate.go
index 82f1dc680..a1ab3f727 100644
--- a/pkg/api/server/register_generate.go
+++ b/pkg/api/server/register_generate.go
@@ -13,8 +13,8 @@ func (s *APIServer) registerGenerateHandlers(r *mux.Router) error {
// tags:
// - containers
// - pods
- // summary: Play a Kubernetes YAML file.
- // description: Create and run pods based on a Kubernetes YAML file (pod or service kind).
+ // summary: Generate a Kubernetes YAML file.
+ // description: Generate Kubernetes YAML based on a pod or container.
// parameters:
// - in: path
// name: name:.*