From 3e7f602b5ad361498e0bc1d3c78a082800a06d5f Mon Sep 17 00:00:00 2001 From: "rita.canavarro" Date: Fri, 28 Jul 2023 09:55:55 +0100 Subject: [PATCH] [FIX] Function declaration Signed-off-by: rita.canavarro --- objstore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objstore.go b/objstore.go index 316650ba..00303ec7 100644 --- a/objstore.go +++ b/objstore.go @@ -667,7 +667,7 @@ type timingReadCloser struct { writtenBytes *prometheus.CounterVec } -func newTimingReadCloser(rc io.ReadCloser, op string, dur *prometheus.HistogramVec, failed *prometheus.CounterVec, isFailureExpected IsOpFailureExpectedFunc, fetchedBytes *prometheus.CounterVec, writtenBytes *prometheus.CounterVec, transferredBytes *prometheus.HistogramVec) *timingReadCloser { +func newTimingReadCloser(rc io.ReadCloser, op string, dur *prometheus.HistogramVec, failed *prometheus.CounterVec, isFailureExpected IsOpFailureExpectedFunc, fetchedBytes *prometheus.CounterVec, transferredBytes *prometheus.HistogramVec, writtenBytes *prometheus.CounterVec) *timingReadCloser { // Initialize the metrics with 0. dur.WithLabelValues(op) failed.WithLabelValues(op)