mirror of
https://github.com/getnora-io/nora.git
synced 2026-04-12 10:20: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;
|
entry.2 = meta.modified;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user