Fix typo in client-go/rest/client.go

Kubernetes-commit: cd63fd4543b99a45d0920421d0bd23af6f762dc8
This commit is contained in:
ZxYuan 2021-02-14 00:18:41 +08:00 committed by Kubernetes Publisher
parent 7279fc64d8
commit a9fe1e1ae9

View File

@ -127,7 +127,7 @@ func NewRESTClient(baseURL *url.URL, versionedAPIPath string, config ClientConte
}, nil
}
// GetRateLimiter returns rate limier for a given client, or nil if it's called on a nil client
// GetRateLimiter returns rate limiter for a given client, or nil if it's called on a nil client
func (c *RESTClient) GetRateLimiter() flowcontrol.RateLimiter {
if c == nil {
return nil