From 5d0372dd2ed447fed6fd036f219d208f77d5468d Mon Sep 17 00:00:00 2001 From: luckyxiaoqiang Date: Tue, 1 Dec 2020 00:54:38 +0800 Subject: [PATCH] Fix typo in comment (#1377) --- sdk/metric/aggregator/aggregator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/metric/aggregator/aggregator.go b/sdk/metric/aggregator/aggregator.go index 0539a0fd79b..afda991e863 100644 --- a/sdk/metric/aggregator/aggregator.go +++ b/sdk/metric/aggregator/aggregator.go @@ -31,7 +31,7 @@ func NewInconsistentAggregatorError(a1, a2 export.Aggregator) error { return fmt.Errorf("%w: %T and %T", aggregation.ErrInconsistentType, a1, a2) } -// RangeTest is a commmon routine for testing for valid input values. +// RangeTest is a common routine for testing for valid input values. // This rejects NaN values. This rejects negative values when the // metric instrument does not support negative values, including // monotonic counter metrics and absolute ValueRecorder metrics.