Explorar o código

Merge pull request #37347 from yui-knk/update_comment

Update comments about `InitRouter`
Vincent Demeester %!s(int64=7) %!d(string=hai) anos
pai
achega
bab4c0dff7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/server/server.go

+ 1 - 1
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...)