fix: redis configuration type
This commit is contained in:
parent
2c550c284d
commit
0ca1c8aac3
3 changed files with 13 additions and 13 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue