From da8716af27d5efa974f45adf0120b1d136e23e85 Mon Sep 17 00:00:00 2001 From: Solly Ross Date: Mon, 7 Jun 2021 14:44:15 -0700 Subject: [PATCH] Remove reference to ClientBuilder in Cluster docs The Cluster interface docs still had a reference to client, despite being removed in aa1bfee605cea988a4a79e9021ad1d4334b09eb8. This restores those docs to talk about NewClient instead. --- pkg/cluster/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/cluster.go b/pkg/cluster/cluster.go index e87e5e4d9a..76fa72ad76 100644 --- a/pkg/cluster/cluster.go +++ b/pkg/cluster/cluster.go @@ -50,7 +50,7 @@ type Cluster interface { // GetClient returns a client configured with the Config. This client may // not be a fully "direct" client -- it may read from a cache, for - // instance. See Options.ClientBuilder for more information on how the default + // instance. See Options.NewClient for more information on how the default // implementation works. GetClient() client.Client