fixup nil pointer assign

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-10-08 16:47:27 +03:00
parent 24c9f20196
commit 31a27a2821

View File

@ -625,7 +625,7 @@ func NewStore(opts ...store.Option) *Store {
}
func (r *Store) configure() error {
var universalOptions *goredis.UniversalOptions
universalOptions := &goredis.UniversalOptions{}
if r.cli != nil && r.opts.Context == nil {
return nil