mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 23:40:35 +01:00
Merge pull request #1686 from beluxx/master
fix the password of redis connection options
This commit is contained in:
commit
bf9220d3c7
|
@ -47,7 +47,7 @@ func (r *GoRedisDriver) mergeClientOptions(c Config) *Options {
|
||||||
}
|
}
|
||||||
|
|
||||||
if opts.Password == "" {
|
if opts.Password == "" {
|
||||||
opts.Username = c.Password
|
opts.Password = c.Password
|
||||||
}
|
}
|
||||||
|
|
||||||
if opts.DB == 0 {
|
if opts.DB == 0 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user