mirror of
https://github.com/containers/podman.git
synced 2025-06-17 06:57:43 +08:00
v2 libpod push: correct docs
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: #6388 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user