Rename YieldProtectedExporter -> YieldBasicAuthExporter

This commit is contained in:
Daniel Bornkessel 2013-01-09 12:48:33 +01:00
parent 45f6fe3bf1
commit 3dbf5d550b
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ func (r *Registry) Register(name string, metric metrics.Metric) {
}
}
func (register *Registry) YieldProtectedExporter(username, password string) http.HandlerFunc {
func (register *Registry) YieldBasicAuthExporter(username, password string) http.HandlerFunc {
exporter := register.YieldExporter()
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {