Skip to content

Commit

Permalink
Fix network protocol metrics typo (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
Menduist authored Apr 26, 2023
1 parent a566678 commit db629dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libp2p/muxers/mplex/lpchannel.nim
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ proc completeWrite(
else:
await fut

when defined(libp2p_network_protocol_metrics):
when defined(libp2p_network_protocols_metrics):
if s.protocol.len > 0:
libp2p_protocols_bytes.inc(msgLen.int64, labelValues=[s.protocol, "out"])

Expand Down

0 comments on commit db629dc

Please sign in to comment.