summaryrefslogtreecommitdiff
path: root/plugins/resetter
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-20 17:42:56 +0300
committerValery Piashchynski <[email protected]>2020-12-20 17:42:56 +0300
commitfe0109a3b19ee82bd7bfbb57eae6b5b5166d7068 (patch)
tree52fd2960cb440c99163738fcfeeb6df465662155 /plugins/resetter
parent349088db2081704e15699ce1e6f6b1f8898bd336 (diff)
Latest goridge version support
Diffstat (limited to 'plugins/resetter')
-rw-r--r--plugins/resetter/tests/resetter_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/resetter/tests/resetter_test.go b/plugins/resetter/tests/resetter_test.go
index 45de67e3..95c3a6b4 100644
--- a/plugins/resetter/tests/resetter_test.go
+++ b/plugins/resetter/tests/resetter_test.go
@@ -10,7 +10,7 @@ import (
"time"
"github.com/spiral/endure"
- "github.com/spiral/goridge/v3"
+ goridgeRpc "github.com/spiral/goridge/v3/pkg/rpc"
"github.com/spiral/roadrunner/v2/plugins/config"
"github.com/spiral/roadrunner/v2/plugins/logger"
"github.com/spiral/roadrunner/v2/plugins/resetter"
@@ -83,7 +83,7 @@ func TestResetterInit(t *testing.T) {
func resetterRPCTest(t *testing.T) {
conn, err := net.Dial("tcp", "127.0.0.1:6001")
assert.NoError(t, err)
- client := rpc.NewClientWithCodec(goridge.NewClientCodec(conn))
+ client := rpc.NewClientWithCodec(goridgeRpc.NewClientCodec(conn))
// WorkerList contains list of workers.
var ret bool