diff options
author | Wolfy-J <[email protected]> | 2018-06-03 13:00:58 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-03 13:00:58 +0300 |
commit | 00eaa539e333184bdfb73fe3347bc5358de8a551 (patch) | |
tree | e323ff9acd8ee769aedcc26e036664dafa6031d0 /server.go | |
parent | d1290a636e70d1797261c189285cc6fc6310a0be (diff) |
go fmt
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() |