aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorDavid Marshall <dmarshall@gmail.com>2022-01-05 15:15:16 -0800
committerDavid Marshall <dmarshall@gmail.com>2022-01-05 15:23:07 -0800
commit6809237436a18a86fc33f29c021b1ffd727316bf (patch)
tree6c58f6f7b429bb2340039355da444da4c9fdd874 /pkg/api/server
parentd67f178563a8948ddc625f99f27be84a27b2cb50 (diff)
downloadpodman-6809237436a18a86fc33f29c021b1ffd727316bf.tar.gz
podman-6809237436a18a86fc33f29c021b1ffd727316bf.tar.bz2
podman-6809237436a18a86fc33f29c021b1ffd727316bf.zip
correct typo words in docs
"for creating a container" appears for networks and volumes Signed-off-by: David Marshall <dmarshall@gmail.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_networks.go4
-rw-r--r--pkg/api/server/register_volumes.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkg/api/server/register_networks.go b/pkg/api/server/register_networks.go
index 344486299..77e8a80fd 100644
--- a/pkg/api/server/register_networks.go
+++ b/pkg/api/server/register_networks.go
@@ -101,7 +101,7 @@ func (s *APIServer) registerNetworkHandlers(r *mux.Router) error {
// parameters:
// - in: body
// name: create
- // description: attributes for creating a container
+ // description: attributes for creating a network
// schema:
// $ref: "#/definitions/NetworkCreateRequest"
// responses:
@@ -312,7 +312,7 @@ func (s *APIServer) registerNetworkHandlers(r *mux.Router) error {
// parameters:
// - in: body
// name: create
- // description: attributes for creating a container
+ // description: attributes for creating a network
// schema:
// $ref: "#/definitions/NetworkCreateLibpod"
// responses:
diff --git a/pkg/api/server/register_volumes.go b/pkg/api/server/register_volumes.go
index fb02cffcf..d1c1d5024 100644
--- a/pkg/api/server/register_volumes.go
+++ b/pkg/api/server/register_volumes.go
@@ -17,7 +17,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// parameters:
// - in: body
// name: create
- // description: attributes for creating a container
+ // description: attributes for creating a volume
// schema:
// $ref: "#/definitions/VolumeCreate"
// produces:
@@ -188,7 +188,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// - in: body
// name: create
// description: |
- // attributes for creating a container.
+ // attributes for creating a volume.
// Note: If a volume by the same name exists, a 201 response with that volume's information will be generated.
// schema:
// $ref: "#/definitions/DockerVolumeCreate"