summaryrefslogtreecommitdiff
path: root/cmd/rr/http/reset.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-13 22:24:47 +0300
committerWolfy-J <[email protected]>2018-06-13 22:24:47 +0300
commitdf4c11fb59b8ffca369f14eededda82884ee4dad (patch)
treec59b4af544cf11008739313a54b878cc20db793d /cmd/rr/http/reset.go
parent235adef3eef67888e4c391b28cedadfb3f8874e3 (diff)
more tests + rpc tests
Diffstat (limited to 'cmd/rr/http/reset.go')
-rw-r--r--cmd/rr/http/reset.go2
1 files changed, 1 insertions, 1 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")
}