mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-11 20:21:34 +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). Kubernetes-commit: e42aab6430cbc9d14891e9aaada9ec8becf62273
This commit is contained in:
parent
b95fa2e4f3
commit
045dbe7ac1
@ -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