mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
Merge pull request #29507 from k82cn/update_node_NewStorage_comments
Automatic merge from submit-queue Corrected comments of node.NewStorage Corrected comments of `node.NewStorage`.
This commit is contained in:
commit
ad4243f647
@ -64,7 +64,7 @@ func (r *StatusREST) Update(ctx api.Context, name string, objInfo rest.UpdatedOb
|
|||||||
return r.store.Update(ctx, name, objInfo)
|
return r.store.Update(ctx, name, objInfo)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewREST returns a RESTStorage object that will work against nodes.
|
// NewStorage returns a NodeStorage object that will work against nodes.
|
||||||
func NewStorage(opts generic.RESTOptions, connection client.ConnectionInfoGetter, proxyTransport http.RoundTripper) NodeStorage {
|
func NewStorage(opts generic.RESTOptions, connection client.ConnectionInfoGetter, proxyTransport http.RoundTripper) NodeStorage {
|
||||||
prefix := "/minions"
|
prefix := "/minions"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user