diff options
author | Valery Piashchynski <[email protected]> | 2022-10-10 14:22:25 +0200 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-10-10 14:22:25 +0200 |
commit | 80f9d4fe1d79c1c6f3b8e9073d99a2a4daf19b2d (patch) | |
tree | 85b572d2dd191411791b56a48cc48797fa3e5682 /internal | |
parent | bee07c00a8954945156ca3e3de9c032b530abd01 (diff) |
feat: plugins SDK/API update
Signed-off-by: Valery Piashchynski <[email protected]>
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 | 1 |
5 files changed, 6 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..1814170c 100644 --- a/internal/rpc/client_test.go +++ b/internal/rpc/client_test.go @@ -8,7 +8,6 @@ import ( "github.com/roadrunner-server/roadrunner/v2/internal/rpc" "github.com/stretchr/testify/require" - "github.com/roadrunner-server/config/v2" "github.com/stretchr/testify/assert" ) |