diff options
Diffstat (limited to 'cmd/rr/http/workers.go')
-rw-r--r-- | cmd/rr/http/workers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rr/http/workers.go b/cmd/rr/http/workers.go index 61fee2a1..6d74a412 100644 --- a/cmd/rr/http/workers.go +++ b/cmd/rr/http/workers.go @@ -36,11 +36,11 @@ func init() { } func workersHandler(cmd *cobra.Command, args []string) error { - if !rr.Services.Has("rpc") { + if !rr.Container.Has("rpc") { return errors.New("RPC service is not configured") } - client, err := rr.Services.Get("rpc").(*rpc.Service).Client() + client, err := rr.Container.Get("rpc").(*rpc.Service).Client() if err != nil { return err } |