add map accessor to Database; move cork interface

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and strawberry committed 2024-10-28 20:52:52 -04:00
1 parent 567a4cb441
commit 354dc9e703
3 files changed
+26 -18

No files matched your search

+1 -1
View File
@@ -838,7 +838,7 @@ pub(super) async fn database_stats(
let map_name = map.as_ref().map_or(EMPTY, String::as_str);
let mut out = String::new();
for (name, map) in self.services.db.iter_maps() {
for (name, map) in self.services.db.iter() {
if !map_name.is_empty() && *map_name != *name {
continue;
}