Skip to content

Commit

Permalink
Merge pull request #11 from joemiller/fix-extended-list-bug-2-or-more…
Browse files Browse the repository at this point in the history
…-errors

bug: error channel should be big enough to hold possible errors from all stored tokens, else the channel could block forever
  • Loading branch information
joemiller authored Jul 26, 2019
2 parents 8baf834 + 65f42d3 commit 1656c5d
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 1656c5d

Please sign in to comment.