Compare commits

..

No commits in common. "master" and "v1.3.2" have entirely different histories.

1 changed files with 4 additions and 4 deletions

2
rdb.go
View File

@ -143,7 +143,7 @@ func newRedisPool(s RdSettings, logger logr.Logger) *redis.Pool {
connStr := s.ConnStr() connStr := s.ConnStr()
if len(s.Prefix) > 0 { if len(s.Prefix) > 0 {
logger = logger.WithValues("rd", s.Prefix) logger = logger.WithName("[" + s.Prefix + "]")
} }
return &redis.Pool{ return &redis.Pool{