mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Add gosimple linter (#9590)
This commit is contained in:
@@ -373,9 +373,7 @@ func (p *pluginEventBroadcaster) run() {
|
||||
case msg := <-p.publishCh:
|
||||
p.subscriptionsLock.RLock()
|
||||
for msgCh := range p.subscriptions {
|
||||
select {
|
||||
case msgCh <- msg:
|
||||
}
|
||||
msgCh <- msg
|
||||
}
|
||||
p.subscriptionsLock.RUnlock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user