From c7f1ecb64395343549cd1329f539016d6bbbb829 Mon Sep 17 00:00:00 2001 From: Matt Bostock Date: Mon, 27 Jun 2016 15:26:48 +0100 Subject: [PATCH] Fix GoDoc indentation The line after the first in each bullet point was appearing as preformatted blocks when viewed as HTML in GoDoc. --- prometheus/http.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/prometheus/http.go b/prometheus/http.go index 85ef1b1..e078e3e 100644 --- a/prometheus/http.go +++ b/prometheus/http.go @@ -61,16 +61,16 @@ func nowSeries(t ...time.Time) nower { // Note that InstrumentHandler has several issues: // // - It uses Summaries rather than Histograms. Summaries are not useful if -// aggregation across multiple instances is required. +// aggregation across multiple instances is required. // // - It uses microseconds as unit, which is deprecated and should be replaced by -// seconds. +// seconds. // // - The size of the request is calculated in a separate goroutine. Since this -// calculator requires access to the request header, it creates a race with -// any writes to the header performed during request handling. -// httputil.ReverseProxy is a prominent example for a handler -// performing such writes. +// calculator requires access to the request header, it creates a race with +// any writes to the header performed during request handling. +// httputil.ReverseProxy is a prominent example for a handler +// performing such writes. // // Upcoming versions of this package will provide ways of instrumenting HTTP // handlers that are more flexible and have fewer issues. Consider this function