mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
client-go/rest: Fix "segments segment" comment typo
The typo landed with SubResource in adb75e1f
(generated staging area,
2016-08-06, kubernetes/kubernetes#29147).
This commit is contained in:
parent
23111ad414
commit
e42aab6430
@ -198,7 +198,7 @@ func (r *Request) Throttle(limiter flowcontrol.RateLimiter) *Request {
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
// SubResource sets a sub-resource path which can be multiple segments segment after the resource
|
// SubResource sets a sub-resource path which can be multiple segments after the resource
|
||||||
// name but before the suffix.
|
// name but before the suffix.
|
||||||
func (r *Request) SubResource(subresources ...string) *Request {
|
func (r *Request) SubResource(subresources ...string) *Request {
|
||||||
if r.err != nil {
|
if r.err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user