From 96c0863b44a6173ae58ef23d042e515cd20ddcc0 Mon Sep 17 00:00:00 2001 From: csuzhang Date: Thu, 14 Jul 2022 20:34:39 +0800 Subject: [PATCH] fix format --- sdk/metric/config_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk/metric/config_test.go b/sdk/metric/config_test.go index 8683a421a4b..ba9aaaa54ea 100644 --- a/sdk/metric/config_test.go +++ b/sdk/metric/config_test.go @@ -45,8 +45,10 @@ func (r *reader) aggregation(kind InstrumentKind) aggregation.Aggregation { // n return r.aggregationFunc(kind) } -func (r *reader) register(p producer) { r.producer = p } -func (r *reader) temporality(kind InstrumentKind) metricdata.Temporality { return r.temporalityFunc(kind) } +func (r *reader) register(p producer) { r.producer = p } +func (r *reader) temporality(kind InstrumentKind) metricdata.Temporality { + return r.temporalityFunc(kind) +} func (r *reader) Collect(ctx context.Context) (metricdata.ResourceMetrics, error) { return r.collectFunc(ctx) }