mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-21 04:45:09 +00:00
Fix typo in client-go/rest/client.go
Kubernetes-commit: cd63fd4543b99a45d0920421d0bd23af6f762dc8
This commit is contained in:
parent
7279fc64d8
commit
a9fe1e1ae9
@ -127,7 +127,7 @@ func NewRESTClient(baseURL *url.URL, versionedAPIPath string, config ClientConte
|
|||||||
}, nil
|
}, 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 {
|
func (c *RESTClient) GetRateLimiter() flowcontrol.RateLimiter {
|
||||||
if c == nil {
|
if c == nil {
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user