diff options
Diffstat (limited to 'plugins/rpc/tests/plugin1.go')
-rw-r--r-- | plugins/rpc/tests/plugin1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/rpc/tests/plugin1.go b/plugins/rpc/tests/plugin1.go index 788e6a2c..a8d5c216 100644 --- a/plugins/rpc/tests/plugin1.go +++ b/plugins/rpc/tests/plugin1.go @@ -28,8 +28,8 @@ func (p1 *Plugin1) Name() string { return "rpc_test.plugin1" } -func (p1 *Plugin1) RPCService() (interface{}, error) { - return &PluginRpc{srv: p1}, nil +func (p1 *Plugin1) RPC() interface{} { + return &PluginRpc{srv: p1} } type PluginRpc struct { |