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 eae9e8a2..d81ef7e2 100644
--- a/static_pool.go
+++ b/static_pool.go
@@ -114,7 +114,7 @@ func (p *StaticPool) Workers() (workers []*Worker) {
return workers
}
-// Remove forces pool to destroy specific worker.
+// Remove forces pool to remove specific worker.
func (p *StaticPool) Remove(w *Worker, err error) {
if w.State().Value() != StateReady && w.State().Value() != StateWorking {
// unable to remove inactive worker