Skip to content

Commit

Permalink
fix silly mistake (#21)
Browse files Browse the repository at this point in the history
Also delete unused vendor directory.
We need to set up CI!
  • Loading branch information
rogpeppe authored Oct 18, 2019
1 parent 615ab93 commit b0f492b
Show file tree
Hide file tree
Showing 493 changed files with 2 additions and 224,350 deletions.
4 changes: 2 additions & 2 deletions consume.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ func (cmd *consumeCmd) run(args []string) error {
if err != nil {
return fmt.Errorf("cannot determine partitions for key: %v", err)
}
if verbose {
if cmd.verbose {
if len(keyPartitions) == len(cmd.allPartitions) {
fmt.Fprintf(os.Stderr, "consuming all partitions\n")
} else {
fmt.Fprintf(os.Stderr, "consuming partitions %v from %v", keyPartitions, cmd.allPartitions)
fmt.Fprintf(os.Stderr, "consuming partitions %v from %v\n", keyPartitions, cmd.allPartitions)
}
}
cmd.allPartitions = keyPartitions
Expand Down
27 changes: 0 additions & 27 deletions vendor/github.com/Shopify/sarama/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions vendor/github.com/Shopify/sarama/.travis.yml

This file was deleted.

Loading

0 comments on commit b0f492b

Please sign in to comment.