From 1b898bc4a523ea60e32783970ae50d6f62cf4aa8 Mon Sep 17 00:00:00 2001 From: Michael Nedokushev Date: Thu, 18 Apr 2024 19:16:32 +0100 Subject: [PATCH] scalafmt --- .../opentelemetry/metrics/internal/OtelMetricListener.scala | 3 +-- .../scala/zio/telemetry/opentelemetry/metrics/MeterTest.scala | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/opentelemetry/src/main/scala/zio/telemetry/opentelemetry/metrics/internal/OtelMetricListener.scala b/opentelemetry/src/main/scala/zio/telemetry/opentelemetry/metrics/internal/OtelMetricListener.scala index 53a0dc08..47eca401 100644 --- a/opentelemetry/src/main/scala/zio/telemetry/opentelemetry/metrics/internal/OtelMetricListener.scala +++ b/opentelemetry/src/main/scala/zio/telemetry/opentelemetry/metrics/internal/OtelMetricListener.scala @@ -1,10 +1,9 @@ package zio.telemetry.opentelemetry.metrics.internal -import zio.metrics.{MetricKey, MetricKeyType, MetricListener} +import zio.metrics.{MetricKey, MetricKeyType, MetricLabel, MetricListener} import zio.{Unsafe, _} import java.time.Instant -import zio.metrics.MetricLabel object OtelMetricListener { diff --git a/opentelemetry/src/test/scala/zio/telemetry/opentelemetry/metrics/MeterTest.scala b/opentelemetry/src/test/scala/zio/telemetry/opentelemetry/metrics/MeterTest.scala index 2ab13e27..2f40a3e7 100644 --- a/opentelemetry/src/test/scala/zio/telemetry/opentelemetry/metrics/MeterTest.scala +++ b/opentelemetry/src/test/scala/zio/telemetry/opentelemetry/metrics/MeterTest.scala @@ -16,7 +16,7 @@ object MeterTest extends ZIOSpecDefault { val inMemoryMetricReaderLayer: ZLayer[Any, Nothing, InMemoryMetricReader] = ZLayer(ZIO.succeed(InMemoryMetricReader.create())) - val meterLayer: ZLayer[InMemoryMetricReader with ContextStorage,Nothing,Meter] = { + val meterLayer: ZLayer[InMemoryMetricReader with ContextStorage, Nothing, Meter] = { val jmeter = ZLayer { for { metricReader <- ZIO.service[InMemoryMetricReader]