Browse code

Update comments about `InitRouter`

This is a follow-up of commit 408c7ad (PR: #32453)

Signed-off-by: Yuichiro Kaneko <spiketeika@gmail.com>

Yuichiro Kaneko authored on 2018/06/26 21:35:43
Showing 1 changed files
... ...
@@ -149,7 +149,7 @@ func (s *Server) makeHTTPHandler(handler httputils.APIFunc) http.HandlerFunc {
149 149
 }
150 150
 
151 151
 // InitRouter initializes the list of routers for the server.
152
-// This method also enables the Go profiler if enableProfiler is true.
152
+// This method also enables the Go profiler.
153 153
 func (s *Server) InitRouter(routers ...router.Router) {
154 154
 	s.routers = append(s.routers, routers...)
155 155