protocols/gossipsub: Fix metric name (#2558)

This commit is contained in:
Pawan Dhananjay
2022-03-17 22:14:52 +05:30
committed by GitHub
parent ca9d53886d
commit b98d23263a
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,10 @@
- Update to `libp2p-swarm` `v0.35.0`. - Update to `libp2p-swarm` `v0.35.0`.
- Fix gossipsub metric (see [PR 2558]).
[PR 2558]: https://github.com/libp2p/rust-libp2p/pull/2558
# 0.36.0 [2022-02-22] # 0.36.0 [2022-02-22]
- Update to `libp2p-core` `v0.32.0`. - Update to `libp2p-core` `v0.32.0`.

View File

@ -182,7 +182,7 @@ impl Metrics {
); );
let rejected_messages = register_family!( let rejected_messages = register_family!(
"accepted_messages_per_topic", "rejected_messages_per_topic",
"Number of rejected messages received for each topic" "Number of rejected messages received for each topic"
); );