diff --git a/guestbook-go/Dockerfile b/guestbook-go/Dockerfile index 087fd6bcd..bf25e7db3 100644 --- a/guestbook-go/Dockerfile +++ b/guestbook-go/Dockerfile @@ -15,7 +15,7 @@ FROM golang:1.10.0 RUN go get github.com/codegangsta/negroni \ github.com/gorilla/mux \ - github.com/xyproto/simpleredis + github.com/xyproto/simpleredis/v2 WORKDIR /app ADD ./main.go . RUN CGO_ENABLED=0 GOOS=linux go build -o main . diff --git a/guestbook-go/main.go b/guestbook-go/main.go index 94f0fc51f..7a5766485 100644 --- a/guestbook-go/main.go +++ b/guestbook-go/main.go @@ -24,7 +24,7 @@ import ( "github.com/codegangsta/negroni" "github.com/gorilla/mux" - "github.com/xyproto/simpleredis" + "github.com/xyproto/simpleredis/v2" ) var ( diff --git a/guestbook-go/redis-master-controller.yaml b/guestbook-go/redis-master-controller.yaml index 2d88d38a7..338c76f0e 100644 --- a/guestbook-go/redis-master-controller.yaml +++ b/guestbook-go/redis-master-controller.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: redis-master - image: registry.k8s.io/redis:e2e + image: redis ports: - name: redis-server containerPort: 6379