summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-09-30 11:57:31 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-09-30 11:57:31 +0200
commit1a3e4094125f22a8e121e5208d61167078635148 (patch)
treee1e1b8bfb5491952dcf8d32ec21f24a08df634fa /pkg/api/server
parentb68b6f334d4a83de35d68cc359365b348e72ad6b (diff)
downloadpodman-1a3e4094125f22a8e121e5208d61167078635148.tar.gz
podman-1a3e4094125f22a8e121e5208d61167078635148.tar.bz2
podman-1a3e4094125f22a8e121e5208d61167078635148.zip
fix remote untag
Fix the remote client to untag all tags of the specified image. Instead of querying the image on the client side, support the case where both, repo and tag, are empty and remove all tags. Reuse the ABI implementation where possible. In retrospective, the libpod untag endpoint should support a slice of strings to batch remove tags rather than reaching out for each tag individually. Enable the skipped test. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index b1007fe09..32e401a54 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -1175,7 +1175,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// tags:
// - images
// summary: Untag an image
- // description: Untag an image
+ // description: Untag an image. If not repo and tag are specified, all tags are removed from the image.
// parameters:
// - in: path
// name: name:.*