From 27d82a724ee2f629266030f45225d95bce9e3cbe Mon Sep 17 00:00:00 2001 From: aleb_the_flash <45729124+lebaudantoine@users.noreply.github.com> Date: Sat, 22 Nov 2025 17:00:02 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20"address"=20typo=20in=20transport=20logs?= =?UTF-8?q?=20(addddress=20=E2=86=92=20address)=20(#4097)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correct triple-d spelling of "address" field in transport logs. I’m not sure whether this was intentional, but I noticed it while creating Grafana queries and filters. This matters because anyone filtering logs using the correct spelling may unintentionally miss relevant data, leading to incomplete or misleading analysis. --- pkg/rtc/transport.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/rtc/transport.go b/pkg/rtc/transport.go index 75903a9b..f627feff 100644 --- a/pkg/rtc/transport.go +++ b/pkg/rtc/transport.go @@ -162,16 +162,16 @@ func (w wrappedICECandidatePairLogger) MarshalLogObject(e zapcore.ObjectEncoder) if w.pair.Local != nil { e.AddString("localProtocol", w.pair.Local.Protocol.String()) e.AddString("localCandidateType", w.pair.Local.Typ.String()) - e.AddString("localAdddress", w.pair.Local.Address) + e.AddString("localAddress", w.pair.Local.Address) e.AddUint16("localPort", w.pair.Local.Port) } if w.pair.Remote != nil { e.AddString("remoteProtocol", w.pair.Remote.Protocol.String()) e.AddString("remoteCandidateType", w.pair.Remote.Typ.String()) - e.AddString("remoteAdddress", MaybeTruncateIP(w.pair.Remote.Address)) + e.AddString("remoteAddress", MaybeTruncateIP(w.pair.Remote.Address)) e.AddUint16("remotePort", w.pair.Remote.Port) if w.pair.Remote.RelatedAddress != "" { - e.AddString("relatedAdddress", MaybeTruncateIP(w.pair.Remote.RelatedAddress)) + e.AddString("relatedAddress", MaybeTruncateIP(w.pair.Remote.RelatedAddress)) e.AddUint16("relatedPort", w.pair.Remote.RelatedPort) } }