diff --git a/rpc/rpc.go b/rpc/rpc.go index 29e603e..89a4c70 100644 --- a/rpc/rpc.go +++ b/rpc/rpc.go @@ -4,6 +4,6 @@ import ( crr "git.loafle.net/commons_go/rpc/registry" ) -func RegisterRPC(registry crr.RPCRegistry) { - registry.RegisterService(&DiscoveryService{}, "") +func RegisterRPC(rpcRegistry crr.RPCRegistry) { + rpcRegistry.RegisterService(&DiscoveryService{}, "") }