diff options
author | Wolfy-J <[email protected]> | 2018-06-03 13:00:02 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-03 13:00:02 +0300 |
commit | d1290a636e70d1797261c189285cc6fc6310a0be (patch) | |
tree | 0bafecfad1c94f4bf7b28f909e2f72a8da7ca4bd /cmd/rr/http | |
parent | 89b1e86b6e3fbb099ba6bd34ac0501f752b4514c (diff) |
simplier stuff
Diffstat (limited to 'cmd/rr/http')
-rw-r--r-- | cmd/rr/http/register.go | 2 | ||||
-rw-r--r-- | cmd/rr/http/reload.go | 2 | ||||
-rw-r--r-- | cmd/rr/http/workers.go | 2 |
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 } |