diff --git a/example_test.go b/example_test.go index dbc95131..ddcc1bf5 100644 --- a/example_test.go +++ b/example_test.go @@ -29,14 +29,10 @@ func ExampleNewTCPClient() { } func ExampleNewFailoverClient() { - client := redis.NewFailoverClient(&redis.FailoverOptions{ + redis.NewFailoverClient(&redis.FailoverOptions{ MasterName: "master", SentinelAddrs: []string{":26379"}, }) - - pong, err := client.Ping().Result() - fmt.Println(pong, err) - // Output: PONG } func ExampleClient() {