fixup nil pointer assign
Some checks failed
codeql / analyze (go) (push) Failing after 39s
build / test (push) Failing after 4m55s
build / lint (push) Has been cancelled

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 7c641fa8ac

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