summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-03-31 07:37:36 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-03-31 07:46:20 -0400
commitab7c83392b8c3abb596a2b3701c5452f5e53671f (patch)
treecf668d70f86d254d60864e4bceb348becb9da922 /pkg/api/handlers/compat
parenta373e2fdf38456b8ac584809e73cdb9f9521a796 (diff)
downloadpodman-ab7c83392b8c3abb596a2b3701c5452f5e53671f.tar.gz
podman-ab7c83392b8c3abb596a2b3701c5452f5e53671f.tar.bz2
podman-ab7c83392b8c3abb596a2b3701c5452f5e53671f.zip
Fix handling of remove --log-rusage param
Fixes: https://github.com/containers/podman/issues/9889 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/api/handlers/compat')
-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 fd310711f..6dac789d6 100644
--- a/pkg/api/handlers/compat/images_build.go
+++ b/pkg/api/handlers/compat/images_build.go
@@ -349,6 +349,7 @@ func BuildImage(w http.ResponseWriter, r *http.Request) {
Jobs: &jobs,
Labels: labels,
Layers: query.Layers,
+ LogRusage: query.LogRusage,
Manifest: query.Manifest,
MaxPullPushRetries: 3,
NamespaceOptions: nsoptions,