fixup default redis default local addr
Some checks failed
codeql / analyze (go) (push) Failing after 37s
build / test (push) Failing after 4m54s
build / lint (push) Successful in 9m29s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-10-06 18:49:50 +03:00
parent 87e2e2b947
commit 953b5b0021

View File

@ -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)