mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #4045 from smarterclayton/remove_logging
Remove logging on apiserver startup
This commit is contained in:
commit
6040cabf11
@ -129,7 +129,6 @@ func registerResourceHandlers(ws *restful.WebService, version string, path strin
|
|||||||
|
|
||||||
mapping, err := mapper.RESTMapping(kind, version)
|
mapping, err := mapper.RESTMapping(kind, version)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.V(1).Infof("OH NOES kind %s version %s err: %v", kind, version, err)
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -240,7 +239,6 @@ func registerResourceHandlers(ws *restful.WebService, version string, path strin
|
|||||||
// See github.com/emicklei/go-restful/blob/master/jsr311.go for routing logic
|
// See github.com/emicklei/go-restful/blob/master/jsr311.go for routing logic
|
||||||
// and status-code behavior
|
// and status-code behavior
|
||||||
for path, verbs := range pathToVerbs {
|
for path, verbs := range pathToVerbs {
|
||||||
glog.V(5).Infof("Installing version=/%s, kind=/%s, path=/%s", version, kind, path)
|
|
||||||
|
|
||||||
params := pathToParam[path]
|
params := pathToParam[path]
|
||||||
for _, verb := range verbs {
|
for _, verb := range verbs {
|
||||||
|
Loading…
Reference in New Issue
Block a user