Update client/structs/broadcaster.go

Co-Authored-By: schmichael <michael.schurter@gmail.com>
This commit is contained in:
Mahmood Ali
2018-11-27 16:03:15 -06:00
committed by Michael Schurter
parent ff7df70f32
commit 9e1d51659b

View File

@@ -25,7 +25,7 @@ var ErrAllocBroadcasterClosed = errors.New("alloc broadcaster closed")
type AllocBroadcaster struct {
mu sync.Mutex
// listeners is a map of unique ids to listener chans. laziliy
// listeners is a map of unique ids to listener chans. lazily
// initialized on first listen
listeners map[int]chan *structs.Allocation