Fixing formatting

This commit is contained in:
Pavel Shevaev 2022-11-22 11:12:51 +03:00
parent dbcf1e77e7
commit dbae89e5fd
1 changed files with 4 additions and 4 deletions

8
rdb.go
View File

@ -140,11 +140,11 @@ func newRedisPool(s RdSettings, logger logr.Logger) *redis.Pool {
idleTimeoutSec = 240
}
connStr := s.ConnStr()
connStr := s.ConnStr()
if len(s.Prefix) > 0 {
logger = logger.WithValues("rd", s.Prefix)
}
if len(s.Prefix) > 0 {
logger = logger.WithValues("rd", s.Prefix)
}
return &redis.Pool{
Wait: false,