From be904beebcfc6832b3bec62493547110c1846cea Mon Sep 17 00:00:00 2001 From: Lynn Lin Date: Mon, 28 Aug 2017 08:57:51 +0800 Subject: [PATCH] fix spelling typo --- prometheus/example_timer_complex_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/example_timer_complex_test.go b/prometheus/example_timer_complex_test.go index 7637880..c5e7de5 100644 --- a/prometheus/example_timer_complex_test.go +++ b/prometheus/example_timer_complex_test.go @@ -45,7 +45,7 @@ var ( func handler(w http.ResponseWriter, r *http.Request) { status := http.StatusOK // The ObserverFunc gets called by the deferred ObserveDuration and - // decides wich Histogram's Observe method is called. + // decides which Histogram's Observe method is called. timer := prometheus.NewTimer(prometheus.ObserverFunc(func(v float64) { switch { case status >= 500: // Server error.