fixup nil pointer assign
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
24c9f20196
commit
7c641fa8ac
2
redis.go
2
redis.go
@ -625,7 +625,7 @@ func NewStore(opts ...store.Option) *Store {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *Store) configure() error {
|
func (r *Store) configure() error {
|
||||||
var universalOptions *goredis.UniversalOptions
|
universalOptions := &goredis.UniversalOptions{}
|
||||||
|
|
||||||
if r.cli != nil && r.opts.Context == nil {
|
if r.cli != nil && r.opts.Context == nil {
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user