correct typo words in docs

"for creating a container" appears for networks and volumes

Signed-off-by: David Marshall <dmarshall@gmail.com>
This commit is contained in:
David Marshall 2022-01-05 15:15:16 -08:00
parent d67f178563
commit 6809237436
2 changed files with 4 additions and 4 deletions

View File

@ -101,7 +101,7 @@ func (s *APIServer) registerNetworkHandlers(r *mux.Router) error {
// parameters: // parameters:
// - in: body // - in: body
// name: create // name: create
// description: attributes for creating a container // description: attributes for creating a network
// schema: // schema:
// $ref: "#/definitions/NetworkCreateRequest" // $ref: "#/definitions/NetworkCreateRequest"
// responses: // responses:
@ -312,7 +312,7 @@ func (s *APIServer) registerNetworkHandlers(r *mux.Router) error {
// parameters: // parameters:
// - in: body // - in: body
// name: create // name: create
// description: attributes for creating a container // description: attributes for creating a network
// schema: // schema:
// $ref: "#/definitions/NetworkCreateLibpod" // $ref: "#/definitions/NetworkCreateLibpod"
// responses: // responses:

View File

@ -17,7 +17,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// parameters: // parameters:
// - in: body // - in: body
// name: create // name: create
// description: attributes for creating a container // description: attributes for creating a volume
// schema: // schema:
// $ref: "#/definitions/VolumeCreate" // $ref: "#/definitions/VolumeCreate"
// produces: // produces:
@ -188,7 +188,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// - in: body // - in: body
// name: create // name: create
// description: | // 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. // Note: If a volume by the same name exists, a 201 response with that volume's information will be generated.
// schema: // schema:
// $ref: "#/definitions/DockerVolumeCreate" // $ref: "#/definitions/DockerVolumeCreate"