diff options
Diffstat (limited to 'cmd/rr/http')
-rw-r--r-- | cmd/rr/http/reset.go | 2 | ||||
-rw-r--r-- | cmd/rr/http/workers.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rr/http/reset.go b/cmd/rr/http/reset.go index 907022c3..d0a42b64 100644 --- a/cmd/rr/http/reset.go +++ b/cmd/rr/http/reset.go @@ -38,7 +38,7 @@ func init() { } func reloadHandler(cmd *cobra.Command, args []string) error { - svc, st := rr.Container.Get(rpc.Name) + svc, st := rr.Container.Get(rpc.ID) if st < service.StatusConfigured { return errors.New("RPC service is not configured") } diff --git a/cmd/rr/http/workers.go b/cmd/rr/http/workers.go index 871d8c86..728c415e 100644 --- a/cmd/rr/http/workers.go +++ b/cmd/rr/http/workers.go @@ -73,7 +73,7 @@ func workersHandler(cmd *cobra.Command, args []string) (err error) { } }() - svc, st := rr.Container.Get(rrpc.Name) + svc, st := rr.Container.Get(rrpc.ID) if st < service.StatusConfigured { return errors.New("RPC service is not configured") } |