From 82abf696a8d33301c88eb8292be27ac838f91a78 Mon Sep 17 00:00:00 2001 From: modship Date: Thu, 12 Dec 2024 17:20:05 +0100 Subject: [PATCH] fix empty help msg --- massa-metrics/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/massa-metrics/src/lib.rs b/massa-metrics/src/lib.rs index 4cef4a0b64..98da5ace18 100644 --- a/massa-metrics/src/lib.rs +++ b/massa-metrics/src/lib.rs @@ -786,7 +786,7 @@ impl MassaMetrics { actual_counter.set(count as i64); } else { let label = format!("network_version_votes_{}", version); - let counter = IntGauge::new(label, "").unwrap(); + let counter = IntGauge::new(label, "vote counter for network version").unwrap(); counter.set(count as i64); let _ = prometheus::register(Box::new(counter.clone())); write.insert(version, counter);