summaryrefslogtreecommitdiff
path: root/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'router.go')
-rw-r--r--router.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/router.go b/router.go
index dffa0e88..4635517d 100644
--- a/router.go
+++ b/router.go
@@ -3,7 +3,7 @@ package roadrunner
import (
"sync"
"os/exec"
- "github.com/go-errors/errors"
+ "fmt"
)
const (
@@ -85,7 +85,7 @@ func (r *Router) Pool() (Pool, error) {
defer r.mu.Unlock()
if r.pool == nil {
- return nil, errors.New("no associated pool")
+ return nil, fmt.Errorf("no associated pool")
}
return r.pool, nil