1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00
This commit is contained in:
Vladimir Mihailenco
2020-12-16 17:45:06 +02:00
parent 602b106abb
commit 143859e345
2 changed files with 3 additions and 3 deletions

View File

@ -865,7 +865,7 @@ var _ = Describe("ClusterClient", func() {
})
It("should return correct replica for key", func() {
client, err := client.ReplicaForKey(ctx, "test")
client, err := client.SlaveForKey(ctx, "test")
Expect(err).ToNot(HaveOccurred())
info := client.Info(ctx, "server")
Expect(info.Val()).Should(ContainSubstring("tcp_port:8224"))