Skip to content

Commit ad9760b

Browse files
committed
SQUASH: fixes
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
1 parent 3811640 commit ad9760b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/manager/manager.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ type Manager interface {
7676
// lock was lost.
7777
Start(ctx context.Context) error
7878

79-
// GetCluster retrieves a Cluster from a given identifying cluster name.
79+
// GetCluster retrieves a Cluster from a given identifying cluster name. An
80+
// empty string will return the default cluster of the manager.
8081
GetCluster(ctx context.Context, clusterName string) (cluster.Cluster, error)
8182

8283
// GetWebhookServer returns a webhook.Server
@@ -275,9 +276,8 @@ type Options struct {
275276
newPprofListener func(addr string) (net.Listener, error)
276277

277278
// ExperimentalClusterProvider is an EXPERIMENTAL feature that allows the manager to
278-
// operate against many Kubernetes clusters at once.
279-
// It can be used by invoking WithExperimentalClusterProvider(adapter) on Options.
280-
// Individual clusters can be accessed by calling GetCluster on the Manager.
279+
// operate against many Kubernetes clusters at once. Individual clusters can
280+
// be accessed by calling GetCluster on the Manager.
281281
ExperimentalClusterProvider cluster.Provider
282282
}
283283

0 commit comments

Comments
 (0)