diff options
author | baude <bbaude@redhat.com> | 2020-12-02 08:19:48 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2020-12-02 08:21:03 -0600 |
commit | 3a5cd57bb4be17f345ca2085af1c4dcb7c68b12f (patch) | |
tree | b84682fafeba78c3ee25379b9d11c9fb7cab49f8 /pkg | |
parent | d28874b2f4bc4f522ed2dc63412e9ddfea011fac (diff) | |
download | podman-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')
-rw-r--r-- | pkg/api/handlers/compat/images_build.go | 4 |
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, |