mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #66920 from wking/segments-segment-typo
Automatic merge from submit-queue (batch tested with PRs 66920, 67316, 67363, 67528, 66963). 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>.
client-go/rest: Fix "segments segment" comment typo
The typo landed with `SubResource` in adb75e1f
(kubernetes/kubernetes#29147).
```release-note
NONE
```
This commit is contained in:
commit
49b295415d
@ -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