summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-03 13:00:58 +0300
committerWolfy-J <[email protected]>2018-06-03 13:00:58 +0300
commit00eaa539e333184bdfb73fe3347bc5358de8a551 (patch)
treee323ff9acd8ee769aedcc26e036664dafa6031d0 /server.go
parentd1290a636e70d1797261c189285cc6fc6310a0be (diff)
go fmt
Diffstat (limited to 'server.go')
-rw-r--r--server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/server.go b/server.go
index ef5bb413..0291b90f 100644
--- a/server.go
+++ b/server.go
@@ -1,9 +1,9 @@
package roadrunner
import (
- "sync"
- "os/exec"
"fmt"
+ "os/exec"
+ "sync"
)
const (
@@ -84,7 +84,7 @@ func (r *Server) Observe(o func(event int, ctx interface{})) {
}
// Pool returns active pool or error.
-func (r *Server) Pool() (Pool) {
+func (r *Server) Pool() Pool {
r.mu.Lock()
defer r.mu.Unlock()