global: snapshot

This commit is contained in:
nym21
2025-11-09 22:57:06 +01:00
parent dc2e847f58
commit f6a2a0540b
58 changed files with 504 additions and 714 deletions

View File

@@ -148,7 +148,7 @@ impl<'a> Vecs<'a> {
}
}
pub fn metric_to_indexes(&self, metric: String) -> Option<&Vec<Index>> {
pub fn metric_to_indexes(&self, metric: Metric) -> Option<&Vec<Index>> {
self.metric_to_indexes
.get(metric.replace("-", "_").as_str())
}