Skip to content

Commit e14fc54

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

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
@@ -42,14 +42,14 @@ public final actor ValkeyConnection: ValkeyClientProtocol, Sendable {
4242
#if DistributedTracingSupport
4343
@usableFromInline
4444
let tracer: (any Tracer)?
45+
@usableFromInline
46+
let address: (hostOrSocketPath: String, port: Int?)?
4547
#endif
4648
@usableFromInline
4749
let channel: any Channel
4850
@usableFromInline
4951
let channelHandler: ValkeyChannelHandler
5052
let configuration: ValkeyConnectionConfiguration
51-
@usableFromInline
52-
let address: (hostOrSocketPath: String, port: Int?)?
5353
let isClosed: Atomic<Bool>
5454

5555
/// Initialize connection

0 commit comments

Comments
 (0)