fix: redis configuration type

This commit is contained in:
Ludovic Fernandez
2022-10-13 15:34:09 +02:00
committed by GitHub
parent 2c550c284d
commit 0ca1c8aac3
3 changed files with 13 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ func (p *Provider) SetDefaults() {
// Init the provider.
func (p *Provider) Init() error {
config := redis.Config{
config := &redis.Config{
Username: p.Username,
Password: p.Password,
DB: p.DB,