aboutsummaryrefslogtreecommitdiff
path: root/go/filer
diff options
context:
space:
mode:
Diffstat (limited to 'go/filer')
-rw-r--r--go/filer/redis_store/redis_store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/filer/redis_store/redis_store.go b/go/filer/redis_store/redis_store.go
index e71776845..939172557 100644
--- a/go/filer/redis_store/redis_store.go
+++ b/go/filer/redis_store/redis_store.go
@@ -8,10 +8,10 @@ type RedisStore struct {
Client *redis.Client
}
-func NewRedisStore(hostPort string, database int) *RedisStore {
+func NewRedisStore(hostPort string, password string, database int) *RedisStore {
client := redis.NewTCPClient(&redis.Options{
Addr: hostPort,
- Password: "", // no password set
+ Password: password,
DB: int64(database),
})
return &RedisStore{Client: client}