From 24ab03559ee25233d6085b912768914b00b9172f Mon Sep 17 00:00:00 2001 From: Lalit Kumar Bhasin Date: Tue, 21 Jan 2025 17:08:59 -0800 Subject: [PATCH] format --- sdk/src/metrics/state/temporal_metric_storage.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/src/metrics/state/temporal_metric_storage.cc b/sdk/src/metrics/state/temporal_metric_storage.cc index 34630f3f67..1302f9d642 100644 --- a/sdk/src/metrics/state/temporal_metric_storage.cc +++ b/sdk/src/metrics/state/temporal_metric_storage.cc @@ -52,7 +52,7 @@ bool TemporalMetricStorage::buildMetrics(CollectorHandle *collector, collector->GetAggregationTemporality(instrument_descriptor_.type_); // Fast path for single collector with delta temporality and counter, updown-counter, histogram - // This path doesn't need to aggregated-with/contribute-to the unreported_metric_, as there is + // This path doesn't need to aggregated-with/contribute-to the unreported_metric_, as there is // no other reader configured to collect those data. if (collectors.size() == 1 && aggregation_temporarily == AggregationTemporality::kDelta) { @@ -80,7 +80,8 @@ bool TemporalMetricStorage::buildMetrics(CollectorHandle *collector, return callback(metric_data); } - if (delta_metrics->Size()) { + if (delta_metrics->Size()) + { for (auto &col : collectors) { unreported_metrics_[col.get()].push_back(delta_metrics);