mirror of
https://github.com/getnora-io/nora.git
synced 2026-04-12 09:10:32 +00:00
style: cargo fmt
This commit is contained in:
@@ -207,7 +207,8 @@ async fn build_docker_index(storage: &Storage) -> Vec<RepoInfo> {
|
||||
entry.2 = meta.modified;
|
||||
}
|
||||
}
|
||||
}}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -200,12 +200,7 @@ pub async fn api_dashboard(State(state): State<Arc<AppState>>) -> Json<Dashboard
|
||||
MountPoint {
|
||||
registry: "Docker".to_string(),
|
||||
mount_path: "/v2/".to_string(),
|
||||
proxy_upstream: state
|
||||
.config
|
||||
.docker
|
||||
.upstreams
|
||||
.first()
|
||||
.map(|u| u.url.clone()),
|
||||
proxy_upstream: state.config.docker.upstreams.first().map(|u| u.url.clone()),
|
||||
},
|
||||
MountPoint {
|
||||
registry: "Maven".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user