From 953b5b00213b6ca5f0029292af2389c35cdf69c0 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 6 Oct 2024 18:49:50 +0300 Subject: [PATCH] fixup default redis default local addr Signed-off-by: Vasiliy Tolstov --- redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.go b/redis.go index d8e7946..7d16460 100755 --- a/redis.go +++ b/redis.go @@ -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)