diff options
author | Valery Piashchynski <[email protected]> | 2020-12-20 18:28:08 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-20 18:28:08 +0300 |
commit | a10d20d20e910ed8fcfbc3bc690aaf17ee338ff3 (patch) | |
tree | 6f017d59c92a59308c00aa3c338ea32b96f2d13d /plugins/rpc/plugin.go | |
parent | 0e02ec510acca9cd8691071850ba95a6cb91d78d (diff) | |
parent | 35ee3b921be6e4416ff26a610f2f95044ff80cbd (diff) |
Merge pull request #456 from spiral/reload/tests_stabilization
Reload/tests stabilization
Diffstat (limited to 'plugins/rpc/plugin.go')
-rwxr-xr-x | plugins/rpc/plugin.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/rpc/plugin.go b/plugins/rpc/plugin.go index c8e63496..98242ade 100755 --- a/plugins/rpc/plugin.go +++ b/plugins/rpc/plugin.go @@ -7,7 +7,7 @@ import ( "github.com/spiral/endure" "github.com/spiral/errors" - "github.com/spiral/goridge/v3" + goridgeRpc "github.com/spiral/goridge/v3/pkg/rpc" "github.com/spiral/roadrunner/v2/interfaces/log" rpc_ "github.com/spiral/roadrunner/v2/interfaces/rpc" "github.com/spiral/roadrunner/v2/plugins/config" @@ -100,7 +100,7 @@ func (s *Plugin) Serve() chan error { return } - go s.rpc.ServeCodec(goridge.NewCodec(conn)) + go s.rpc.ServeCodec(goridgeRpc.NewCodec(conn)) } }() @@ -161,5 +161,5 @@ func (s *Plugin) Client() (*rpc.Client, error) { return nil, err } - return rpc.NewClientWithCodec(goridge.NewClientCodec(conn)), nil + return rpc.NewClientWithCodec(goridgeRpc.NewClientCodec(conn)), nil } |