Skip to content

Commit

Permalink
fix 没有前缀的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
icowan committed Jan 6, 2021
1 parent 8a1ac9c commit b4800b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestNewRedisClient(t *testing.T) {

func TestNewRedisCluster(t *testing.T) {
ctx = context.Background()
rds, err := NewRedisClient("10.143.228.248:30738", "admin", "test", 3)
rds, err := NewRedisClient("localhost:30738", "admin", "test", 3)
if err != nil {
t.Error(err)
}
Expand Down

0 comments on commit b4800b2

Please sign in to comment.