Registering serviceErrorHandler with go-restful

This commit is contained in:
nikhiljindal
2015-04-15 16:33:35 -07:00
parent 6cfce2c7ee
commit f9132dc572
4 changed files with 27 additions and 9 deletions

View File

@@ -431,6 +431,7 @@ func (m *Master) init(c *Config) {
apiserver.InstallSupport(m.muxHelper, m.rootWebService)
apiserver.AddApiWebService(m.handlerContainer, c.APIPrefix, apiVersions)
apiserver.InstallServiceErrorHandler(m.handlerContainer)
// Register root handler.
// We do not register this using restful Webservice since we do not want to surface this in api docs.