mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Merge pull request #3408 from smarterclayton/remove_user_agent_log
Remove user agent logging (doesn't add significant value)
This commit is contained in:
commit
54fc4fa3a9
@ -250,7 +250,6 @@ func (g *APIGroupVersion) InstallREST(container *restful.Container, root string,
|
|||||||
// TODO: eliminate all the restful wrappers
|
// TODO: eliminate all the restful wrappers
|
||||||
// TODO: create a separate handler per verb
|
// TODO: create a separate handler per verb
|
||||||
h := func(req *restful.Request, resp *restful.Response) {
|
h := func(req *restful.Request, resp *restful.Response) {
|
||||||
glog.V(4).Infof("User-Agent: %s\n", req.HeaderParameter("User-Agent"))
|
|
||||||
strippedHandler.ServeHTTP(resp.ResponseWriter, req.Request)
|
strippedHandler.ServeHTTP(resp.ResponseWriter, req.Request)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user