Skip to content

Commit 4d0066e

Browse files
committed
Put ValkeyConnection.address behind Tracing trait
Signed-off-by: Moritz Lang <[email protected]>
1 parent 5b59b04 commit 4d0066e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Valkey/Connection/ValkeyConnection.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ public final actor ValkeyConnection: ValkeyClientProtocol, Sendable {
3636
#if DistributedTracingSupport
3737
@usableFromInline
3838
let tracer: (any Tracer)?
39+
@usableFromInline
40+
let address: (hostOrSocketPath: String, port: Int?)?
3941
#endif
4042
@usableFromInline
4143
let channel: any Channel
4244
@usableFromInline
4345
let channelHandler: ValkeyChannelHandler
4446
let configuration: ValkeyConnectionConfiguration
45-
@usableFromInline
46-
let address: (hostOrSocketPath: String, port: Int?)?
4747
let isClosed: Atomic<Bool>
4848

4949
/// Initialize connection

0 commit comments

Comments
 (0)