Skip to content

Commit

Permalink
db/redis: update go-redis
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Souza committed Jan 20, 2017
1 parent 17730c0 commit 9357eaa
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion db/redis/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion db/redis/job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion db/redis/localpreset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion db/redis/presetmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion db/redis/redis_test.go
Original file line number Diff line number Diff line change
@@ -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"})
Expand Down
2 changes: 1 addition & 1 deletion db/redis/storage/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion provider/zencoder/zencoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9357eaa

Please sign in to comment.