diff options
Diffstat (limited to 'supervisor_pool.go')
-rwxr-xr-x | supervisor_pool.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/supervisor_pool.go b/supervisor_pool.go index e23abdd1..43c36ae4 100755 --- a/supervisor_pool.go +++ b/supervisor_pool.go @@ -19,13 +19,13 @@ type SupervisedPool interface { type supervisedPool struct { cfg *SupervisorConfig - events *util.EventHandler + events util.EventsHandler pool Pool stopCh chan struct{} mu *sync.RWMutex } -func newPoolWatcher(pool Pool, events *util.EventHandler, cfg *SupervisorConfig) SupervisedPool { +func newPoolWatcher(pool Pool, events util.EventsHandler, cfg *SupervisorConfig) SupervisedPool { sp := &supervisedPool{ cfg: cfg, events: events, |