Permalink
Browse files

only show available platforms

  • Loading branch information...
1 parent 5353830 commit a47934933c348a220b15bbd9e62893120338c99d @adg adg committed Apr 24, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 battd/battd.go
View
@@ -209,7 +209,9 @@ func platforms() (s []string) {
mu.Lock()
defer mu.Unlock()
for p := range workers {
- s = append(s, p)
+ if len(workers[p]) > 0 {
+ s = append(s, p)
+ }
}
sort.Strings(s)
return

0 comments on commit a479349

Please sign in to comment.