summaryrefslogtreecommitdiff
path: root/static_pool.go
diff options
context:
space:
mode:
Diffstat (limited to 'static_pool.go')
-rw-r--r--static_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/static_pool.go b/static_pool.go
index 02960825..66b1366e 100644
--- a/static_pool.go
+++ b/static_pool.go
@@ -84,7 +84,7 @@ func NewPool(cmd func() *exec.Cmd, factory Factory, cfg Config) (*StaticPool, er
return p, nil
}
-// Listen attaches pool event watcher.
+// Listen attaches pool event controller.
func (p *StaticPool) Listen(l func(event int, ctx interface{})) {
p.mul.Lock()
defer p.mul.Unlock()