Skip to content

Commit 4d31768

Browse files
committed
fix: update to latest iroh-metrics PR
1 parent c04c68d commit 4d31768

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

portmapper/src/metrics.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use iroh_metrics::{struct_iterable::Iterable, Counter, Metric};
1+
use iroh_metrics::{struct_iterable::Iterable, Counter, MetricsGroup};
22

33
/// Enum of metrics for the module
44
#[allow(missing_docs)]
@@ -58,7 +58,7 @@ impl Default for Metrics {
5858
}
5959
}
6060

61-
impl Metric for Metrics {
61+
impl MetricsGroup for Metrics {
6262
fn name(&self) -> &'static str {
6363
"portmap"
6464
}

0 commit comments

Comments
 (0)