summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/images_build.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-22 12:00:58 +0200
committerGitHub <noreply@github.com>2020-05-22 12:00:58 +0200
commit72f87e6808e991b1ca761e46de82fe0d13c76d6d (patch)
tree685693a1cc9e988784e306b39a6664dc95813f19 /pkg/api/handlers/compat/images_build.go
parent7b2627e7df715c63ab36555a03a65b47efbec0a5 (diff)
parent845a795a7a1666fb8af2abc6ce93c7152f06a9b9 (diff)
downloadpodman-72f87e6808e991b1ca761e46de82fe0d13c76d6d.tar.gz
podman-72f87e6808e991b1ca761e46de82fe0d13c76d6d.tar.bz2
podman-72f87e6808e991b1ca761e46de82fe0d13c76d6d.zip
Merge pull request #6327 from baude/v2build
v2 podman-remote build
Diffstat (limited to 'pkg/api/handlers/compat/images_build.go')
-rw-r--r--pkg/api/handlers/compat/images_build.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/images_build.go b/pkg/api/handlers/compat/images_build.go
index e208e6ddc..e9d8fd719 100644
--- a/pkg/api/handlers/compat/images_build.go
+++ b/pkg/api/handlers/compat/images_build.go
@@ -226,6 +226,7 @@ func BuildImage(w http.ResponseWriter, r *http.Request) {
id, _, err := runtime.Build(r.Context(), buildOptions, query.Dockerfile)
if err != nil {
utils.InternalServerError(w, err)
+ return
}
// Find image ID that was built...