Merge pull request #524 from bansalji02/master

issue #506--->fixed the redis issue
This commit is contained in:
Kubernetes Prow Robot 2024-05-20 04:11:27 -07:00 committed by GitHub
commit 574ea58b95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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 .

View File

@ -24,7 +24,7 @@ import (
"github.com/codegangsta/negroni"
"github.com/gorilla/mux"
"github.com/xyproto/simpleredis"
"github.com/xyproto/simpleredis/v2"
)
var (

View File

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: redis-master
image: registry.k8s.io/redis:e2e
image: redis
ports:
- name: redis-server
containerPort: 6379