This is a follow-up of commit 408c7ad (PR: #32453)
Signed-off-by: Yuichiro Kaneko <spiketeika@gmail.com>
| ... | ... |
@@ -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 |
|