From 94cec893f66feb5b831e7ab7d4506cdd5067b717 Mon Sep 17 00:00:00 2001 From: Povilas Versockas Date: Tue, 12 Nov 2024 11:46:53 +0200 Subject: [PATCH] fix: lint error --- packages/sdk-metrics/src/state/MetricCollector.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk-metrics/src/state/MetricCollector.ts b/packages/sdk-metrics/src/state/MetricCollector.ts index ab9fdf07918..3b52a3e4d56 100644 --- a/packages/sdk-metrics/src/state/MetricCollector.ts +++ b/packages/sdk-metrics/src/state/MetricCollector.ts @@ -96,7 +96,7 @@ export class MetricCollector implements MetricProducer { * collector. */ selectCardinalityLimit(instrumentType: InstrumentType): number { - return this._metricReader.selectCardinalityLimit.?(instrumentType) ?? 2000; + return this._metricReader.selectCardinalityLimit?.(instrumentType) ?? 2000; } }