summaryrefslogtreecommitdiff
path: root/cmd/rr/http
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rr/http')
-rw-r--r--cmd/rr/http/register.go2
-rw-r--r--cmd/rr/http/reload.go2
-rw-r--r--cmd/rr/http/workers.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/cmd/rr/http/register.go b/cmd/rr/http/register.go
index a670427c..b8447ed4 100644
--- a/cmd/rr/http/register.go
+++ b/cmd/rr/http/register.go
@@ -6,5 +6,5 @@ import (
)
func init() {
- rr.Bus.Register(&http.Service{})
+ rr.Services.Register(&http.Service{})
}
diff --git a/cmd/rr/http/reload.go b/cmd/rr/http/reload.go
index 6caf0a71..17588d00 100644
--- a/cmd/rr/http/reload.go
+++ b/cmd/rr/http/reload.go
@@ -35,7 +35,7 @@ func init() {
}
func reloadHandler(cmd *cobra.Command, args []string) {
- client, err := rr.Bus.RCPClient()
+ client, err := rr.Services.RCPClient()
if err != nil {
panic(err) // todo: change
}
diff --git a/cmd/rr/http/workers.go b/cmd/rr/http/workers.go
index c1225987..22551384 100644
--- a/cmd/rr/http/workers.go
+++ b/cmd/rr/http/workers.go
@@ -38,7 +38,7 @@ func init() {
}
func workersHandler(cmd *cobra.Command, args []string) {
- client, err := rr.Bus.RCPClient()
+ client, err := rr.Services.RCPClient()
if err != nil {
panic(err) // todo: change
}