mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
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:
@ -104,9 +104,6 @@ func BuildImage(w http.ResponseWriter, r *http.Request) {
|
|||||||
if len(query.Tag) > 0 {
|
if len(query.Tag) > 0 {
|
||||||
output = query.Tag[0]
|
output = query.Tag[0]
|
||||||
}
|
}
|
||||||
if _, found := r.URL.Query()["target"]; found {
|
|
||||||
output = query.Target
|
|
||||||
}
|
|
||||||
|
|
||||||
var additionalNames []string
|
var additionalNames []string
|
||||||
if len(query.Tag) > 1 {
|
if len(query.Tag) > 1 {
|
||||||
@ -162,7 +159,6 @@ func BuildImage(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
reporter := channel.NewWriter(make(chan []byte, 1))
|
reporter := channel.NewWriter(make(chan []byte, 1))
|
||||||
defer reporter.Close()
|
defer reporter.Close()
|
||||||
|
|
||||||
buildOptions := imagebuildah.BuildOptions{
|
buildOptions := imagebuildah.BuildOptions{
|
||||||
ContextDirectory: contextDirectory,
|
ContextDirectory: contextDirectory,
|
||||||
PullPolicy: pullPolicy,
|
PullPolicy: pullPolicy,
|
||||||
|
Reference in New Issue
Block a user