diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-02-18 19:00:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 19:00:16 +0100 |
commit | a5d55966bde3b0798f9cb89009d443ccfac3126a (patch) | |
tree | cf5812921f0667c97ec846e11a4a20153090cc5f /pkg/api/handlers/images.go | |
parent | 5dacee93950a97ea14180bb86f21e462101fe5ea (diff) | |
parent | 024ddda123bcc1e042451f1990973291200fa090 (diff) | |
download | podman-a5d55966bde3b0798f9cb89009d443ccfac3126a.tar.gz podman-a5d55966bde3b0798f9cb89009d443ccfac3126a.tar.bz2 podman-a5d55966bde3b0798f9cb89009d443ccfac3126a.zip |
Merge pull request #5235 from jwhonce/issues/5229
Update mux rules to allow slashes in image names
Diffstat (limited to 'pkg/api/handlers/images.go')
-rw-r--r-- | pkg/api/handlers/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/images.go b/pkg/api/handlers/images.go index cd3c0b93f..e4e394d68 100644 --- a/pkg/api/handlers/images.go +++ b/pkg/api/handlers/images.go @@ -155,7 +155,7 @@ func SearchImages(w http.ResponseWriter, r *http.Request) { } results, err := image.SearchImages(query.Term, options) if err != nil { - utils.InternalServerError(w, err) + utils.BadRequest(w, "term", query.Term, err) } utils.WriteResponse(w, http.StatusOK, results) } |