mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Rename
This commit is contained in:
@ -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"))
|
||||
|
Reference in New Issue
Block a user