1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-12 14:21:52 +03:00

Add Sentinel RouteBy

This commit is contained in:
Vladimir Mihailenco
2020-09-11 15:52:38 +03:00
parent afb0064872
commit cbce5dbfa2
6 changed files with 65 additions and 57 deletions

View File

@ -114,10 +114,7 @@ func ExampleNewClusterClient_manualSetup() {
// ReloadState reloads cluster state. It calls ClusterSlots func
// to get cluster slots information.
err := rdb.ReloadState(ctx)
if err != nil {
panic(err)
}
rdb.ReloadState(ctx)
}
func ExampleNewRing() {