Commit 2ee0f69e authored by Klaus Ma's avatar Klaus Ma

Corrected comments of node.NewStorage

parent 180e6719
...@@ -64,7 +64,7 @@ func (r *StatusREST) Update(ctx api.Context, name string, objInfo rest.UpdatedOb ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment