Fix formatting

This commit is contained in:
2026-01-26 16:39:48 +00:00
parent 38c727491b
commit 1abe0df25a
7 changed files with 329 additions and 59 deletions

View File

@@ -139,8 +139,11 @@ pub async fn api_dashboard(State(state): State<Arc<AppState>>) -> Json<Dashboard
}
}
let total_artifacts = registry_stats.docker + registry_stats.maven +
registry_stats.npm + registry_stats.cargo + registry_stats.pypi;
let total_artifacts = registry_stats.docker
+ registry_stats.maven
+ registry_stats.npm
+ registry_stats.cargo
+ registry_stats.pypi;
let global_stats = GlobalStats {
downloads: state.metrics.downloads.load(Ordering::Relaxed),