We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b30d87 commit 056cf5fCopy full SHA for 056cf5f
db/redis/redis.go
@@ -22,7 +22,7 @@ func GetRedis() (redisD *redis.Client, err error) {
22
}
23
redisConfig := config.GetConfig().Redis
24
redisDB = redis.NewClient(&redis.Options{
25
- Addr: redisConfig.Host + ":" + strconv.Itoa(int(redisConfig.Prot)),
+ Addr: redisConfig.Host + ":" + strconv.Itoa(int(redisConfig.Port)),
26
Username: redisConfig.UserName,
27
Password: redisConfig.Password,
28
DB: int(redisConfig.DBIndex),
0 commit comments