diff options
author | Valery Piashchynski <[email protected]> | 2022-10-14 09:21:18 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-14 09:21:18 +0200 |
commit | 247597af7eaaf68d28783d92e227c2932088a2e8 (patch) | |
tree | 2a9bb8a510b881d0ee87040051c95d55765fcabe /internal | |
parent | 0a483f671252dea760e1a6d7fc90b5cd363d11af (diff) | |
parent | b067e8b126b8b446b6c9c414f553d3a6b31509c1 (diff) |
[#1315]: feat: plugins SDK/API update
Diffstat (limited to 'internal')
-rw-r--r-- | internal/cli/serve/command.go | 2 | ||||
-rw-r--r-- | internal/cli/workers/command.go | 4 | ||||
-rw-r--r-- | internal/cli/workers/render.go | 4 | ||||
-rw-r--r-- | internal/rpc/client.go | 2 | ||||
-rw-r--r-- | internal/rpc/client_test.go | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/internal/cli/serve/command.go b/internal/cli/serve/command.go index eaf6260f..dcaadec5 100644 --- a/internal/cli/serve/command.go +++ b/internal/cli/serve/command.go @@ -9,7 +9,7 @@ import ( "github.com/roadrunner-server/roadrunner/v2/container" "github.com/roadrunner-server/roadrunner/v2/internal/meta" - configImpl "github.com/roadrunner-server/config/v2" + configImpl "github.com/roadrunner-server/config/v3" "github.com/roadrunner-server/errors" "github.com/spf13/cobra" ) diff --git a/internal/cli/workers/command.go b/internal/cli/workers/command.go index 421e9afc..d65a454a 100644 --- a/internal/cli/workers/command.go +++ b/internal/cli/workers/command.go @@ -8,13 +8,13 @@ import ( "syscall" "time" - "github.com/roadrunner-server/api/v2/plugins/jobs" internalRpc "github.com/roadrunner-server/roadrunner/v2/internal/rpc" + "github.com/roadrunner-server/sdk/v3/plugins/jobs" tm "github.com/buger/goterm" "github.com/fatih/color" "github.com/roadrunner-server/errors" - "github.com/roadrunner-server/informer/v2" + "github.com/roadrunner-server/informer/v3" "github.com/spf13/cobra" ) diff --git a/internal/cli/workers/render.go b/internal/cli/workers/render.go index df38ae85..a0810b21 100644 --- a/internal/cli/workers/render.go +++ b/internal/cli/workers/render.go @@ -8,8 +8,8 @@ import ( "github.com/dustin/go-humanize" "github.com/fatih/color" "github.com/olekukonko/tablewriter" - "github.com/roadrunner-server/api/v2/plugins/jobs" - "github.com/roadrunner-server/api/v2/state/process" + "github.com/roadrunner-server/sdk/v3/plugins/jobs" + "github.com/roadrunner-server/sdk/v3/state/process" ) const ( diff --git a/internal/rpc/client.go b/internal/rpc/client.go index 1e0fbbac..3096fd78 100644 --- a/internal/rpc/client.go +++ b/internal/rpc/client.go @@ -11,7 +11,7 @@ import ( "strings" goridgeRpc "github.com/roadrunner-server/goridge/v3/pkg/rpc" - rpcPlugin "github.com/roadrunner-server/rpc/v2" + rpcPlugin "github.com/roadrunner-server/rpc/v3" "github.com/spf13/viper" ) diff --git a/internal/rpc/client_test.go b/internal/rpc/client_test.go index b9465a4b..c74df9cc 100644 --- a/internal/rpc/client_test.go +++ b/internal/rpc/client_test.go @@ -5,10 +5,10 @@ import ( "os" "testing" + "github.com/roadrunner-server/config/v3" "github.com/roadrunner-server/roadrunner/v2/internal/rpc" "github.com/stretchr/testify/require" - "github.com/roadrunner-server/config/v2" "github.com/stretchr/testify/assert" ) |