diff --git a/db/redis/job.go b/db/redis/job.go index f8cfe825..94429495 100644 --- a/db/redis/job.go +++ b/db/redis/job.go @@ -7,7 +7,7 @@ import ( "github.com/NYTimes/video-transcoding-api/db" "github.com/NYTimes/video-transcoding-api/db/redis/storage" - "gopkg.in/redis.v4" + "gopkg.in/redis.v5" ) const jobsSetKey = "jobs" diff --git a/db/redis/job_test.go b/db/redis/job_test.go index 807e0742..f614eec0 100644 --- a/db/redis/job_test.go +++ b/db/redis/job_test.go @@ -12,7 +12,7 @@ import ( "github.com/NYTimes/video-transcoding-api/db" "github.com/NYTimes/video-transcoding-api/db/redis/storage" "github.com/kr/pretty" - "gopkg.in/redis.v4" + "gopkg.in/redis.v5" ) func TestCreateJob(t *testing.T) { diff --git a/db/redis/localpreset.go b/db/redis/localpreset.go index 6e78703d..62837696 100644 --- a/db/redis/localpreset.go +++ b/db/redis/localpreset.go @@ -5,7 +5,7 @@ import ( "github.com/NYTimes/video-transcoding-api/db" "github.com/NYTimes/video-transcoding-api/db/redis/storage" - "gopkg.in/redis.v4" + "gopkg.in/redis.v5" ) const localPresetsSetKey = "localpresets" diff --git a/db/redis/presetmap.go b/db/redis/presetmap.go index 7d8c351c..a1515c6f 100644 --- a/db/redis/presetmap.go +++ b/db/redis/presetmap.go @@ -3,7 +3,7 @@ package redis import ( "github.com/NYTimes/video-transcoding-api/db" "github.com/NYTimes/video-transcoding-api/db/redis/storage" - "gopkg.in/redis.v4" + "gopkg.in/redis.v5" ) const presetmapsSetKey = "presetmaps" diff --git a/db/redis/redis_test.go b/db/redis/redis_test.go index 5d785460..0be62488 100644 --- a/db/redis/redis_test.go +++ b/db/redis/redis_test.go @@ -1,6 +1,6 @@ package redis -import "gopkg.in/redis.v4" +import "gopkg.in/redis.v5" func cleanRedis() error { client := redis.NewClient(&redis.Options{Addr: "127.0.0.1:6379"}) diff --git a/db/redis/storage/redis.go b/db/redis/storage/redis.go index 7271ac5d..0fa0a8bd 100644 --- a/db/redis/storage/redis.go +++ b/db/redis/storage/redis.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "gopkg.in/redis.v4" + "gopkg.in/redis.v5" ) // ErrNotFound is the error returned when the given key is not found. diff --git a/provider/zencoder/zencoder_test.go b/provider/zencoder/zencoder_test.go index 4acbdd43..6dc5e2db 100644 --- a/provider/zencoder/zencoder_test.go +++ b/provider/zencoder/zencoder_test.go @@ -14,7 +14,7 @@ import ( "github.com/NYTimes/video-transcoding-api/provider" "github.com/flavioribeiro/zencoder" "github.com/kr/pretty" - redisDriver "gopkg.in/redis.v4" + redisDriver "gopkg.in/redis.v5" ) func TestFactoryIsRegistered(t *testing.T) {