Skip to content

Commit

Permalink
bug: error channel should be big enough to hold possible errors from …
Browse files Browse the repository at this point in the history
…all stored tokens, else the channel could block forever
  • Loading branch information
joemiller committed Jul 26, 2019
1 parent 8baf834 commit 65f42d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func extendedList() error {
fmt.Fprintln(w, "----------\t------------\t---\t---------\t--------\t")

outCh := make(chan string, len(addrs))
errCh := make(chan error, 1)
errCh := make(chan error, len(addrs))

for _, addr := range addrs {
wg.Add(1)
Expand Down

0 comments on commit 65f42d3

Please sign in to comment.