summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_images.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-05-27 10:20:45 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-05-27 15:26:46 +0200
commitd6fd0952f8d16b64cca6d8ec36f72dd7ba29591d (patch)
tree5aaaeaf4c8f08ed9b8e4ea18fb729a0cfea35031 /pkg/api/server/register_images.go
parentd6a7096d6195b695ba393c55ecb47c0c1ad6bd4e (diff)
downloadpodman-d6fd0952f8d16b64cca6d8ec36f72dd7ba29591d.tar.gz
podman-d6fd0952f8d16b64cca6d8ec36f72dd7ba29591d.tar.bz2
podman-d6fd0952f8d16b64cca6d8ec36f72dd7ba29591d.zip
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>
Diffstat (limited to 'pkg/api/server/register_images.go')
-rw-r--r--pkg/api/server/register_images.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index c885dc81a..64094e8e4 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -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