Skip to content

Commit c45cb5c

Browse files
committed
Run the formatter
Motivation: The formatter hasn't been run since the formatting CI image got updated so the formatting check now fails. Modifications: Run the formatter. Result: Formatting CI check passes
1 parent 25b9913 commit c45cb5c

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

Sources/GRPCOTelTracingInterceptors/Tracing/ServerOTelTracingInterceptor.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ public struct ServerOTelTracingInterceptor: ServerInterceptor {
102102
public func intercept<Input, Output>(
103103
request: StreamingServerRequest<Input>,
104104
context: ServerContext,
105-
next: @Sendable (StreamingServerRequest<Input>, ServerContext) async throws ->
105+
next:
106+
@Sendable (StreamingServerRequest<Input>, ServerContext) async throws ->
106107
StreamingServerResponse<Output>
107108
) async throws -> StreamingServerResponse<Output> where Input: Sendable, Output: Sendable {
108109
try await self.intercept(
@@ -118,7 +119,8 @@ public struct ServerOTelTracingInterceptor: ServerInterceptor {
118119
tracer: any Tracer,
119120
request: StreamingServerRequest<Input>,
120121
context: ServerContext,
121-
next: @Sendable (StreamingServerRequest<Input>, ServerContext) async throws ->
122+
next:
123+
@Sendable (StreamingServerRequest<Input>, ServerContext) async throws ->
122124
StreamingServerResponse<Output>
123125
) async throws -> StreamingServerResponse<Output> where Input: Sendable, Output: Sendable {
124126
var serviceContext = ServiceContext.topLevel

Tests/GRPCHealthServiceTests/HealthTests.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ import XCTest
2323
@available(gRPCSwiftExtras 2.0, *)
2424
final class HealthTests: XCTestCase {
2525
private func withHealthClient(
26-
_ body: @Sendable (
27-
Grpc_Health_V1_Health.Client<InProcessTransport.Client>,
28-
HealthService.Provider
29-
) async throws -> Void
26+
_ body:
27+
@Sendable (
28+
Grpc_Health_V1_Health.Client<InProcessTransport.Client>,
29+
HealthService.Provider
30+
) async throws -> Void
3031
) async throws {
3132
let health = HealthService()
3233
let inProcess = InProcessTransport()

0 commit comments

Comments
 (0)