summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-03 13:47:20 +0300
committerWolfy-J <[email protected]>2018-06-03 13:47:20 +0300
commitc95bb9a1f60dc7f1087abe5d53ec9d9a866cd0cb (patch)
tree03551f5decf1b36890816d9119040a6b84d4f378
parenta891f511f973c102f3a425a0686203fba2117841 (diff)
minor CS
-rw-r--r--cmd/rr/http/register.go2
-rw-r--r--http/rpc.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rr/http/register.go b/cmd/rr/http/register.go
index a725f5f2..fb828578 100644
--- a/cmd/rr/http/register.go
+++ b/cmd/rr/http/register.go
@@ -1,9 +1,9 @@
package http
import (
+ "github.com/spf13/cobra"
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
"github.com/spiral/roadrunner/http"
- "github.com/spf13/cobra"
)
func init() {
diff --git a/http/rpc.go b/http/rpc.go
index 94aeca23..dcf19b1f 100644
--- a/http/rpc.go
+++ b/http/rpc.go
@@ -17,7 +17,7 @@ type WorkerList struct {
// Reset resets underlying RR worker pool and restarts all of it's workers.
func (rpc *rpcServer) Reset(reset bool, r *string) error {
- logrus.Info("resetting worker pool")
+ logrus.Info("http: restarting worker pool")
*r = "OK"
return rpc.service.srv.rr.Reset()