mirror of https://github.com/containers/podman.git
target is not tag
remove mistaken use of target being used for tag Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
parent
d28874b2f4
commit
3a5cd57bb4
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue