summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-12-02 08:19:48 -0600
committerMatthew Heon <mheon@redhat.com>2020-12-07 15:16:10 -0500
commitbc602e49a2dd6141f1a3ea2a906df5386f33ac2d (patch)
treed8b1def657b8accb034936458a1bf67a28dab4d4 /pkg/api/handlers
parent1c16f3a5e234e3b050eb31353c5fb10e71c02c61 (diff)
downloadpodman-bc602e49a2dd6141f1a3ea2a906df5386f33ac2d.tar.gz
podman-bc602e49a2dd6141f1a3ea2a906df5386f33ac2d.tar.bz2
podman-bc602e49a2dd6141f1a3ea2a906df5386f33ac2d.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,