summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-12-02 08:19:48 -0600
committerbaude <bbaude@redhat.com>2020-12-02 08:21:03 -0600
commit3a5cd57bb4be17f345ca2085af1c4dcb7c68b12f (patch)
treeb84682fafeba78c3ee25379b9d11c9fb7cab49f8 /pkg/api/handlers
parentd28874b2f4bc4f522ed2dc63412e9ddfea011fac (diff)
downloadpodman-3a5cd57bb4be17f345ca2085af1c4dcb7c68b12f.tar.gz
podman-3a5cd57bb4be17f345ca2085af1c4dcb7c68b12f.tar.bz2
podman-3a5cd57bb4be17f345ca2085af1c4dcb7c68b12f.zip
target is not tag
remove mistaken use of target being used for tag Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r--pkg/api/handlers/compat/images_build.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/api/handlers/compat/images_build.go b/pkg/api/handlers/compat/images_build.go
index a4bb72140..149050209 100644
--- a/pkg/api/handlers/compat/images_build.go
+++ b/pkg/api/handlers/compat/images_build.go
@@ -104,9 +104,6 @@ func BuildImage(w http.ResponseWriter, r *http.Request) {
if len(query.Tag) > 0 {
output = query.Tag[0]
}
- if _, found := r.URL.Query()["target"]; found {
- output = query.Target
- }
var additionalNames []string
if len(query.Tag) > 1 {
@@ -162,7 +159,6 @@ func BuildImage(w http.ResponseWriter, r *http.Request) {
reporter := channel.NewWriter(make(chan []byte, 1))
defer reporter.Close()
-
buildOptions := imagebuildah.BuildOptions{
ContextDirectory: contextDirectory,
PullPolicy: pullPolicy,