fixup default redis default local addr
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
87e2e2b947
commit
953b5b0021
2
redis.go
2
redis.go
@ -711,7 +711,7 @@ func (r *Store) configure() error {
|
||||
if len(r.opts.Addrs) > 0 {
|
||||
universalOptions.Addrs = r.opts.Addrs
|
||||
} else {
|
||||
universalOptions.Addrs = []string{"redis://127.0.0.1:6379"}
|
||||
universalOptions.Addrs = []string{"127.0.0.1:6379"}
|
||||
}
|
||||
|
||||
r.cli = goredis.NewUniversalClient(universalOptions)
|
||||
|
Loading…
Reference in New Issue
Block a user