diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-02-13 20:12:31 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-02-13 20:12:31 +0100 |
commit | 2154c5b763188e2ed1bedca911635805ff43b90a (patch) | |
tree | 7e44222f56ba63293da38a432660e758d235b5db /pkg | |
parent | implemented command to fetch list of languages (diff) |
added state change subscription to state machine
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/controller/controller.go | 2 | ||||
-rw-r--r-- | pkg/mixer/mixer.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index 01e36cd..644cdd1 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -116,7 +116,7 @@ func (c *Controller) sendEvent(ev Event) { select { case ch <- ev: default: - // subscriber is not respoding... + // subscriber is not responding... // log.Printf("controller: removing subscriber '%v', because it is not responding", ch) close(ch) c.subscribers.Remove(sub) diff --git a/pkg/mixer/mixer.go b/pkg/mixer/mixer.go index 3cf869d..09817ac 100644 --- a/pkg/mixer/mixer.go +++ b/pkg/mixer/mixer.go @@ -167,7 +167,7 @@ func (m *Mixer) sendEvent(ev Event) { select { case ch <- ev: default: - // subscriber is not respoding... + // subscriber is not responding... // log.Printf("mixer: removing subscriber '%v', because it is not responding", ch) close(ch) subs.Remove(sub) |