kubectl: rewrite docstrings in several files

Fixing inaccuracies and clarifying in the case of ambiguities.
This commit is contained in:
Alexander Campbell
2017-05-25 12:23:22 -07:00
parent d29560d89a
commit f9913c4948
8 changed files with 31 additions and 20 deletions

View File

@@ -108,7 +108,8 @@ func (f *FilterServer) accept(method, path, host string) bool {
return false
}
// Make a copy of f which passes requests along to the new delegate.
// HandlerFor makes a shallow copy of f which passes its requests along to the
// new delegate.
func (f *FilterServer) HandlerFor(delegate http.Handler) *FilterServer {
f2 := *f
f2.delegate = delegate