style: cargo fmt

This commit is contained in:
2026-03-16 08:58:27 +00:00
parent a9996b6b54
commit b2be7102fe
2 changed files with 28 additions and 32 deletions

View File

@@ -207,7 +207,8 @@ async fn build_docker_index(storage: &Storage) -> Vec<RepoInfo> {
entry.2 = meta.modified; entry.2 = meta.modified;
} }
} }
}} }
}
} }
} }

View File

@@ -200,12 +200,7 @@ pub async fn api_dashboard(State(state): State<Arc<AppState>>) -> Json<Dashboard
MountPoint { MountPoint {
registry: "Docker".to_string(), registry: "Docker".to_string(),
mount_path: "/v2/".to_string(), mount_path: "/v2/".to_string(),
proxy_upstream: state proxy_upstream: state.config.docker.upstreams.first().map(|u| u.url.clone()),
.config
.docker
.upstreams
.first()
.map(|u| u.url.clone()),
}, },
MountPoint { MountPoint {
registry: "Maven".to_string(), registry: "Maven".to_string(),