change method name

Signed-off-by: LiHui <andrewli@yunify.com>
This commit is contained in:
LiHui
2021-01-08 14:11:41 +08:00
parent bc9fe7f656
commit e57e602b69
3 changed files with 2 additions and 6 deletions

View File

@@ -186,7 +186,7 @@ func monitorRequest(r *restful.Request, response *restful.Response, chain *restf
}
func (s *APIServer) installMetricsAPI() {
register()
registerMetrics()
metrics.Defaults.Install(s.container)
}