diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-02-21 15:30:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 15:30:00 -0500 |
commit | f51cf8546d17c68f5ade1b4c8558d120c583316e (patch) | |
tree | 79d4dbbf847c1a1648189ddb54edec867626ab8e /pkg/api/handlers/images.go | |
parent | ed6264c28e35cac1e14ac51be81f4297b7c77380 (diff) | |
parent | ea153c8e2eb2e371a7e7f5825ab65f0abd5a580d (diff) | |
download | podman-f51cf8546d17c68f5ade1b4c8558d120c583316e.tar.gz podman-f51cf8546d17c68f5ade1b4c8558d120c583316e.tar.bz2 podman-f51cf8546d17c68f5ade1b4c8558d120c583316e.zip |
Merge pull request #5280 from baude/addreturn
search endpoint failure correction
Diffstat (limited to 'pkg/api/handlers/images.go')
-rw-r--r-- | pkg/api/handlers/images.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/handlers/images.go b/pkg/api/handlers/images.go index e4e394d68..96bcbdc96 100644 --- a/pkg/api/handlers/images.go +++ b/pkg/api/handlers/images.go @@ -156,6 +156,7 @@ func SearchImages(w http.ResponseWriter, r *http.Request) { results, err := image.SearchImages(query.Term, options) if err != nil { utils.BadRequest(w, "term", query.Term, err) + return } utils.WriteResponse(w, http.StatusOK, results) } |