From 8c26bbc6c2cb5eb3991eec1d1f012834c165e729 Mon Sep 17 00:00:00 2001 From: permor Date: Tue, 16 Apr 2024 00:24:32 +0900 Subject: [PATCH] metrics: fix typo --- metrics/sample.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/sample.go b/metrics/sample.go index e4735fb6ff..17b2bee28f 100644 --- a/metrics/sample.go +++ b/metrics/sample.go @@ -153,7 +153,7 @@ func SamplePercentile(values []int64, p float64) float64 { } // CalculatePercentiles returns a slice of arbitrary percentiles of the slice of -// int64. This method returns interpolated results, so e.g if there are only two +// int64. This method returns interpolated results, so e.g. if there are only two // values, [0, 10], a 50% percentile will land between them. // // Note: As a side-effect, this method will also sort the slice of values.