summaryrefslogtreecommitdiff
path: root/cmd/rr/http/reset.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-26 22:18:48 +0300
committerWolfy-J <[email protected]>2018-09-26 22:18:48 +0300
commitd24c43aaeff897394eca140478c73dd146f8710a (patch)
treeae7e9515aa11a7358349f7c822bf020a7c5f33ed /cmd/rr/http/reset.go
parentabe62c0675f839586312cff1c83d6a4cb31dd9d5 (diff)
worker information extraction is now moved to external package
Diffstat (limited to 'cmd/rr/http/reset.go')
-rw-r--r--cmd/rr/http/reset.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/rr/http/reset.go b/cmd/rr/http/reset.go
index 3bc089ec..f1129eef 100644
--- a/cmd/rr/http/reset.go
+++ b/cmd/rr/http/reset.go
@@ -24,7 +24,7 @@ import (
"errors"
"github.com/spf13/cobra"
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
- "github.com/spiral/roadrunner/cmd/rr/utils"
+ "github.com/spiral/roadrunner/cmd/rr/util"
"github.com/spiral/roadrunner/service"
"github.com/spiral/roadrunner/service/rpc"
)
@@ -49,13 +49,13 @@ func reloadHandler(cmd *cobra.Command, args []string) error {
}
defer client.Close()
- utils.Printf("<green>restarting http worker pool</reset>: ")
+ util.Printf("<green>restarting http worker pool</reset>: ")
var r string
if err := client.Call("http.Reset", true, &r); err != nil {
return err
}
- utils.Printf("<green+hb>done</reset>\n")
+ util.Printf("<green+hb>done</reset>\n")
return nil
}