summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorVladimir Kochnev <hashtable@yandex.ru>2022-06-03 19:42:21 +0300
committerVladimir Kochnev <hashtable@yandex.ru>2022-06-07 14:20:46 +0300
commite41d4a24713e606d24807012e021c7aac924011e (patch)
tree4e54bc5c157a13f6e3a68ce3536e1eb924fb1fc7 /pkg/api/handlers
parent8f79604864412a05d5d1b8614cb356f5b481306b (diff)
downloadpodman-e41d4a24713e606d24807012e021c7aac924011e.tar.gz
podman-e41d4a24713e606d24807012e021c7aac924011e.tar.bz2
podman-e41d4a24713e606d24807012e021c7aac924011e.zip
Add missing tests for manifests API
Also: - It fixes a regression in parsing "images" parameter in ManifestAddV3 handler. - Refactors 12-imagesMore.at to use start_registry helper. - Removes some unsafe "exit 1" statements which skip clean up. Signed-off-by: Vladimir Kochnev <hashtable@yandex.ru>
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r--pkg/api/handlers/libpod/manifests.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/manifests.go b/pkg/api/handlers/libpod/manifests.go
index 65b9d6cb5..d9ed1c265 100644
--- a/pkg/api/handlers/libpod/manifests.go
+++ b/pkg/api/handlers/libpod/manifests.go
@@ -163,7 +163,6 @@ func ManifestAddV3(w http.ResponseWriter, r *http.Request) {
// Wrapper to support 3.x with 4.x libpod
query := struct {
entities.ManifestAddOptions
- Images []string
TLSVerify bool `schema:"tlsVerify"`
}{}
if err := json.NewDecoder(r.Body).Decode(&query); err != nil {