Skip to content

Commit

Permalink
agent: fix comment wording
Browse files Browse the repository at this point in the history
  • Loading branch information
banks authored and pearkes committed Oct 17, 2018
1 parent 3bd84d3 commit 33926f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (s *HTTPServer) handler(enableDebug bool) http.Handler {
}

// handlePProf takes the given pattern and pprof handler
// and wraps it to authorization and metrics
// and wraps it to add authorization and metrics
handlePProf := func(pattern string, handler http.HandlerFunc) {
wrapper := func(resp http.ResponseWriter, req *http.Request) {
var token string
Expand Down

0 comments on commit 33926f9

Please sign in to comment.