From aa2ac5cb0f6e224658b2075aa62044f0ea32382a Mon Sep 17 00:00:00 2001 From: Victor Elias Date: Thu, 9 Jan 2025 17:52:26 -0300 Subject: [PATCH] deps: Replace all ai-worker deps with ai/worker local folder --- ai/file_worker.go | 2 +- cmd/livepeer/starter/starter.go | 2 +- core/ai.go | 2 +- core/ai_worker.go | 2 +- server/ai_http.go | 2 +- server/ai_mediaserver.go | 2 +- server/ai_process.go | 2 +- server/ai_worker.go | 2 +- server/rpc.go | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ai/file_worker.go b/ai/file_worker.go index 1ce547820..f37e9aec0 100644 --- a/ai/file_worker.go +++ b/ai/file_worker.go @@ -6,7 +6,7 @@ import ( "errors" "os" - "github.com/livepeer/ai-worker/worker" + "github.com/livepeer/go-livepeer/ai/worker" ) type FileWorker struct { diff --git a/cmd/livepeer/starter/starter.go b/cmd/livepeer/starter/starter.go index 78dfc96f4..56a9628da 100755 --- a/cmd/livepeer/starter/starter.go +++ b/cmd/livepeer/starter/starter.go @@ -27,7 +27,7 @@ import ( "github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/rpc" "github.com/golang/glog" - "github.com/livepeer/ai-worker/worker" + "github.com/livepeer/go-livepeer/ai/worker" "github.com/livepeer/go-livepeer/build" "github.com/livepeer/go-livepeer/common" "github.com/livepeer/go-livepeer/core" diff --git a/core/ai.go b/core/ai.go index a9eeae9f7..3916b852a 100644 --- a/core/ai.go +++ b/core/ai.go @@ -12,7 +12,7 @@ import ( "strings" "github.com/golang/glog" - "github.com/livepeer/ai-worker/worker" + "github.com/livepeer/go-livepeer/ai/worker" ) var errPipelineNotAvailable = errors.New("pipeline not available") diff --git a/core/ai_worker.go b/core/ai_worker.go index b38e95173..65eeba18e 100644 --- a/core/ai_worker.go +++ b/core/ai_worker.go @@ -14,7 +14,7 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/golang/glog" - "github.com/livepeer/ai-worker/worker" + "github.com/livepeer/go-livepeer/ai/worker" "github.com/livepeer/go-livepeer/clog" "github.com/livepeer/go-livepeer/common" "github.com/livepeer/go-livepeer/monitor" diff --git a/server/ai_http.go b/server/ai_http.go index f738f3df0..9f5aa335c 100644 --- a/server/ai_http.go +++ b/server/ai_http.go @@ -23,7 +23,7 @@ import ( ethcommon "github.com/ethereum/go-ethereum/common" "github.com/getkin/kin-openapi/openapi3filter" "github.com/golang/glog" - "github.com/livepeer/ai-worker/worker" + "github.com/livepeer/go-livepeer/ai/worker" "github.com/livepeer/go-livepeer/clog" "github.com/livepeer/go-livepeer/common" "github.com/livepeer/go-livepeer/core" diff --git a/server/ai_mediaserver.go b/server/ai_mediaserver.go index 80f92948b..1a3954741 100644 --- a/server/ai_mediaserver.go +++ b/server/ai_mediaserver.go @@ -16,7 +16,7 @@ import ( "github.com/livepeer/go-livepeer/monitor" "github.com/getkin/kin-openapi/openapi3filter" - "github.com/livepeer/ai-worker/worker" + "github.com/livepeer/go-livepeer/ai/worker" "github.com/livepeer/go-livepeer/clog" "github.com/livepeer/go-livepeer/common" "github.com/livepeer/go-livepeer/core" diff --git a/server/ai_process.go b/server/ai_process.go index 384cadf20..60e07b236 100644 --- a/server/ai_process.go +++ b/server/ai_process.go @@ -17,7 +17,7 @@ import ( "strings" "time" - "github.com/livepeer/ai-worker/worker" + "github.com/livepeer/go-livepeer/ai/worker" "github.com/livepeer/go-livepeer/clog" "github.com/livepeer/go-livepeer/common" "github.com/livepeer/go-livepeer/core" diff --git a/server/ai_worker.go b/server/ai_worker.go index 34dc722bf..fdb8bd76b 100644 --- a/server/ai_worker.go +++ b/server/ai_worker.go @@ -20,7 +20,7 @@ import ( "github.com/cenkalti/backoff" "github.com/golang/glog" - "github.com/livepeer/ai-worker/worker" + "github.com/livepeer/go-livepeer/ai/worker" "github.com/livepeer/go-livepeer/clog" "github.com/livepeer/go-livepeer/common" "github.com/livepeer/go-livepeer/core" diff --git a/server/rpc.go b/server/rpc.go index 7223c56a9..730791014 100644 --- a/server/rpc.go +++ b/server/rpc.go @@ -16,7 +16,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/livepeer/ai-worker/worker" + "github.com/livepeer/go-livepeer/ai/worker" "github.com/livepeer/go-livepeer/clog" "github.com/livepeer/go-livepeer/common" "github.com/livepeer/go-livepeer/core"