Skip to content

Commit

Permalink
v2 libpod push: correct docs
Browse files Browse the repository at this point in the history
The swagger documentation for the libpod push endpoint were not in sync
with the implementation.  Correct these docs to reflect the parameters
that are actually supported.

Fixes: containers#6388
Signed-off-by: Valentin Rothberg <[email protected]>
  • Loading branch information
vrothberg committed May 27, 2020
1 parent d6a7096 commit d6fd095
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkg/api/server/register_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,13 +631,18 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// required: true
// description: Name of image to push.
// - in: query
// name: tag
// name: destination
// type: string
// description: The tag to associate with the image on the registry.
// description: Allows for pushing the image to a different destintation than the image refers to.
// - in: query
// name: credentials
// description: username:password for the registry.
// type: string
// - in: query
// name: tlsVerify
// description: Require TLS verification.
// type: boolean
// default: true
// - in: header
// name: X-Registry-Auth
// type: string
Expand Down

0 comments on commit d6fd095

Please sign in to comment.