v3_1 #117

Closed
devstigneev wants to merge 2 commits from devstigneev:v3_1 into v3
Showing only changes of commit a445f920c0 - Show all commits

View File

@ -625,7 +625,7 @@ func NewStore(opts ...store.Option) *Store {
}
func (r *Store) configure() error {
var universalOptions *goredis.UniversalOptions
universalOptions := DefaultUniversalOptions
if r.cli != nil && r.opts.Context == nil {
return nil
@ -704,10 +704,6 @@ func (r *Store) configure() error {
}
}
if universalOptions == nil {
universalOptions = DefaultUniversalOptions
}
if len(r.opts.Addrs) > 0 {
universalOptions.Addrs = r.opts.Addrs
} else {