mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Merge pull request #59389 from Lihua93/patch-1
Automatic merge from submit-queue (batch tested with PRs 59447, 59594, 59651, 59389). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix typo: constucts -> constructs **What this PR does / why we need it**: To fix doc typo **Release note**: ```release-note NONE ```
This commit is contained in:
commit
72896f6e0b
@ -69,7 +69,7 @@ func NewForConfigOrDie(c *rest.Config) CustomMetricsClient {
|
|||||||
return client
|
return client
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewForMapper constucts the client with a RESTMapper, which allows more
|
// NewForMapper constructs the client with a RESTMapper, which allows more
|
||||||
// accurate translation from GroupVersionKind to GroupVersionResource.
|
// accurate translation from GroupVersionKind to GroupVersionResource.
|
||||||
func NewForMapper(client rest.Interface, mapper meta.RESTMapper) CustomMetricsClient {
|
func NewForMapper(client rest.Interface, mapper meta.RESTMapper) CustomMetricsClient {
|
||||||
return &customMetricsClient{
|
return &customMetricsClient{
|
||||||
|
Loading…
Reference in New Issue
Block a user