As "remote" is a logging context key already, use a different name. (#910)
This commit is contained in:
@@ -298,10 +298,10 @@ func (t *PCTransport) logICECandidates() {
|
|||||||
t.lock.RLock()
|
t.lock.RLock()
|
||||||
t.params.Logger.Infow(
|
t.params.Logger.Infow(
|
||||||
"ice candidates",
|
"ice candidates",
|
||||||
"local", t.allowedLocalCandidates,
|
"lc", t.allowedLocalCandidates,
|
||||||
"remote", t.allowedRemoteCandidates,
|
"rc", t.allowedRemoteCandidates,
|
||||||
"local (filtered)", t.filteredLocalCandidates,
|
"lc (filtered)", t.filteredLocalCandidates,
|
||||||
"remote (filtered)", t.filteredRemoteCandidates,
|
"rc (filtered)", t.filteredRemoteCandidates,
|
||||||
)
|
)
|
||||||
t.lock.RUnlock()
|
t.lock.RUnlock()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user