From 00eaa539e333184bdfb73fe3347bc5358de8a551 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 3 Jun 2018 13:00:58 +0300 Subject: go fmt --- server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server.go') 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() -- cgit v1.2.3