Skip to content

Commit b2b4f60

Browse files
author
XieBiao
committed
fix :
1 parent a2631c0 commit b2b4f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storages/redis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type RedisClient struct {
1515
func NewRedisClient(host string, port uint16, password string) (*RedisClient, error) {
1616
var addr bytes.Buffer
1717
addr.WriteString(host)
18-
addr.WriteString("-")
18+
addr.WriteString(":")
1919
addr.WriteString(strconv.Itoa(int(port)))
2020

2121
conn, err := redis.Dial("tcp", addr.String())

0 commit comments

Comments
 (0)