Skip to content

Commit

Permalink
Remove reference to ClientBuilder in Cluster docs
Browse files Browse the repository at this point in the history
The Cluster interface docs still had a reference to client, despite
being removed in aa1bfee.

This restores those docs to talk about NewClient instead.
  • Loading branch information
DirectXMan12 committed Jun 7, 2021
1 parent d4ecab6 commit da8716a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit da8716a

Please sign in to comment.