From 4d1d9db82765eb7e0fc9a8a79c01ba41a77ac358 Mon Sep 17 00:00:00 2001 From: Guangwen Feng Date: Thu, 28 Oct 2021 10:49:17 +0800 Subject: [PATCH] Fix a typo in comment Signed-off-by: Guangwen Feng --- .../controller-manager/pkg/clientbuilder/client_builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/controller-manager/pkg/clientbuilder/client_builder.go b/staging/src/k8s.io/controller-manager/pkg/clientbuilder/client_builder.go index 3f2282c2144..29084748378 100644 --- a/staging/src/k8s.io/controller-manager/pkg/clientbuilder/client_builder.go +++ b/staging/src/k8s.io/controller-manager/pkg/clientbuilder/client_builder.go @@ -76,7 +76,7 @@ func (b SimpleControllerClientBuilder) ClientOrDie(name string) clientset.Interf return client } -// DiscoveryClientOrDie returns a discovery.DiscoveryInterface built from the ClientBuilder +// DiscoveryClient returns a discovery.DiscoveryInterface built from the ClientBuilder // Discovery is special because it will artificially pump the burst quite high to handle the many discovery requests. func (b SimpleControllerClientBuilder) DiscoveryClient(name string) (discovery.DiscoveryInterface, error) { clientConfig, err := b.Config(name)