diff options
author | Wolfy-J <[email protected]> | 2018-03-31 18:31:09 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-03-31 18:31:09 +0300 |
commit | f8ff7aeedc893969d02115d23b62503a75228446 (patch) | |
tree | abe67a449cba8e00f23ad25b43d481d4b6fa1dee /static_pool_test.go | |
parent | 73240266eb12fbc763d9780ba66ffa8bc0f2c38b (diff) |
worker destruction made public
Diffstat (limited to 'static_pool_test.go')
-rw-r--r-- | static_pool_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static_pool_test.go b/static_pool_test.go index 6e6aa4be..ada6c3d2 100644 --- a/static_pool_test.go +++ b/static_pool_test.go @@ -150,7 +150,7 @@ func Test_StaticPool_Broken_Replace(t *testing.T) { assert.NotNil(t, p) assert.NoError(t, err) - p.Observe(func(e int, w *Worker, ctx interface{}) { + p.Watch(func(e int, w *Worker, ctx interface{}) { if err, ok := ctx.(error); ok { assert.Contains(t, err.Error(), "undefined_function()") } |