Skip to content

Commit

Permalink
Merge pull request #8552 from baude/buildtarget
Browse files Browse the repository at this point in the history
target is not tag
  • Loading branch information
openshift-merge-robot authored Dec 2, 2020
2 parents 7210b86 + 3a5cd57 commit e82ec90
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/api/handlers/compat/images_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit e82ec90

Please sign in to comment.