Fixing formatting
This commit is contained in:
parent
dbcf1e77e7
commit
dbae89e5fd
8
rdb.go
8
rdb.go
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue