Merge pull request #524 from bansalji02/master
issue #506--->fixed the redis issue
This commit is contained in:
commit
574ea58b95
|
@ -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 .
|
||||
|
|
|
@ -24,7 +24,7 @@ import (
|
|||
|
||||
"github.com/codegangsta/negroni"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/xyproto/simpleredis"
|
||||
"github.com/xyproto/simpleredis/v2"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: redis-master
|
||||
image: registry.k8s.io/redis:e2e
|
||||
image: redis
|
||||
ports:
|
||||
- name: redis-server
|
||||
containerPort: 6379
|
||||
|
|
Loading…
Reference in New Issue