summaryrefslogtreecommitdiff
path: root/static_pool.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-07 16:26:59 +0300
committerWolfy-J <[email protected]>2018-06-07 16:26:59 +0300
commite74adb2b42e6c75b8235190dcaf01988aed3191e (patch)
treee9425f558525c405ba784d2beb7e51154d8b8bc0 /static_pool.go
parent06e3569fabba6f2e36b5aac4df81484526003a9f (diff)
go fmt
Diffstat (limited to 'static_pool.go')
-rw-r--r--static_pool.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/static_pool.go b/static_pool.go
index a04190dd..f4652bfc 100644
--- a/static_pool.go
+++ b/static_pool.go
@@ -58,7 +58,6 @@ func NewPool(cmd func() *exec.Cmd, factory Factory, cfg Config) (*StaticPool, er
for i := uint64(0); i < p.cfg.NumWorkers; i++ {
// to test if worker ready
w, err := p.createWorker()
-
if err != nil {
p.Destroy()
return nil, err