summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-02 16:58:28 +0100
committerGitHub <noreply@github.com>2020-12-02 16:58:28 +0100
commite82ec90007af82ee297eec0cb3973801cd383264 (patch)
tree26c7804dd42c5f45908104724f1c56c7679213a9 /pkg
parent7210b86d9ee5aa38a07829e58038049d224cad61 (diff)
parent3a5cd57bb4be17f345ca2085af1c4dcb7c68b12f (diff)
downloadpodman-e82ec90007af82ee297eec0cb3973801cd383264.tar.gz
podman-e82ec90007af82ee297eec0cb3973801cd383264.tar.bz2
podman-e82ec90007af82ee297eec0cb3973801cd383264.zip
Merge pull request #8552 from baude/buildtarget
target is not tag
Diffstat (limited to 'pkg')
-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,