Skip to content

Commit

Permalink
target is not tag
Browse files Browse the repository at this point in the history
remove mistaken use of target being used for tag

Signed-off-by: baude <[email protected]>
  • Loading branch information
baude committed Dec 2, 2020
1 parent d28874b commit 3a5cd57
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 3a5cd57

Please sign in to comment.