mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
Update client/structs/broadcaster.go
Co-Authored-By: schmichael <michael.schurter@gmail.com>
This commit is contained in:
committed by
Michael Schurter
parent
ff7df70f32
commit
9e1d51659b
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user