Skip to content

Commit

Permalink
Fix network protocol metrics typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Menduist committed Mar 8, 2023
1 parent 8d5ea43 commit 086a4c3
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 086a4c3

Please sign in to comment.