Fix doc comment typo

This commit is contained in:
beorn7 2016-08-15 15:54:18 +02:00
parent 66058aac3a
commit 390e874a3f
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ func Handler() http.Handler {
} }
// HandlerFor returns an http.Handler for the provided Gatherer. The behavior // HandlerFor returns an http.Handler for the provided Gatherer. The behavior
// ef the Handler is defined by the provided HandlerOpts. // of the Handler is defined by the provided HandlerOpts.
func HandlerFor(reg prometheus.Gatherer, opts HandlerOpts) http.Handler { func HandlerFor(reg prometheus.Gatherer, opts HandlerOpts) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
mfs, err := reg.Gather() mfs, err := reg.Gather()