From dbd4c290b7029d31fa69c906a8da864589f19e09 Mon Sep 17 00:00:00 2001 From: Yuichiro Kaneko Date: Tue, 26 Jun 2018 21:35:43 +0900 Subject: [PATCH] Update comments about `InitRouter` This is a follow-up of commit 408c7ad (PR: #32453) Signed-off-by: Yuichiro Kaneko --- api/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...)