From 2ee0f69ebd0260f255451e58d54da8562f9d1648 Mon Sep 17 00:00:00 2001 From: Klaus Ma Date: Sat, 23 Jul 2016 19:39:01 +0800 Subject: [PATCH] Corrected comments of node.NewStorage --- pkg/registry/node/etcd/etcd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/node/etcd/etcd.go b/pkg/registry/node/etcd/etcd.go index 371ad0dc451..ce1472aa9f3 100644 --- a/pkg/registry/node/etcd/etcd.go +++ b/pkg/registry/node/etcd/etcd.go @@ -64,7 +64,7 @@ func (r *StatusREST) Update(ctx api.Context, name string, objInfo rest.UpdatedOb 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 { prefix := "/minions"