Skip to content

Commit

Permalink
Update new puller binary (bazelbuild#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
xwinxu authored and k8s-ci-robot committed Jul 5, 2019
1 parent 05fcf7f commit 06d9bf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions container/go/cmd/puller/puller.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,9 @@ func main() {
formatOptions := map[string]bool{
"oci": true,
"docker": true,
"both": true,
}
if *format != "" && !formatOptions[*format] {
log.Fatalln("Invalid option -format. Must be one of 'oci', 'docker', or 'both'.")
log.Fatalln("Invalid option -format. Must be one of 'oci' or 'docker'.")
}

// Create a Platform struct with given arguments.
Expand Down

0 comments on commit 06d9bf4

Please sign in to comment.