diff --git a/api/server/server.go b/api/server/server.go index 3874a56ce5..c364008286 100644 --- a/api/server/server.go +++ b/api/server/server.go @@ -149,7 +149,7 @@ func (s *Server) makeHTTPHandler(handler httputils.APIFunc) http.HandlerFunc { } // InitRouter initializes the list of routers for the server. -// This method also enables the Go profiler if enableProfiler is true. +// This method also enables the Go profiler. func (s *Server) InitRouter(routers ...router.Router) { s.routers = append(s.routers, routers...)