From 845a795a7a1666fb8af2abc6ce93c7152f06a9b9 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Thu, 21 May 2020 13:58:51 -0500 Subject: v2 podman-remote build this is a very basic implementation of build. some of the more advanced options need to be included still as well. i think the endpoints for compat and libpod will have to split given buildahs more advanced set of options. that should probably be done by someone more experienced with build internals. Signed-off-by: Brent Baude --- pkg/api/handlers/compat/images_build.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/api/handlers') 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... -- cgit v1.2.3-54-g00ecf