Formatting
This commit is contained in:
parent
71157983e3
commit
08cc0812bf
|
@ -119,7 +119,9 @@ async fn enqueue_paths(
|
|||
.collect();
|
||||
|
||||
if let Some(flakehub_state) = &*state.flakehub_state.read().await {
|
||||
crate::flakehub::enqueue_paths(flakehub_state, store_paths).await.unwrap();
|
||||
crate::flakehub::enqueue_paths(flakehub_state, store_paths)
|
||||
.await
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
Ok(Json(EnqueuePathsResponse {}))
|
||||
|
|
|
@ -256,10 +256,7 @@ pub async fn init_cache(
|
|||
})
|
||||
}
|
||||
|
||||
pub async fn enqueue_paths(
|
||||
state: &State,
|
||||
store_paths: Vec<StorePath>,
|
||||
) -> Result<()> {
|
||||
pub async fn enqueue_paths(state: &State, store_paths: Vec<StorePath>) -> Result<()> {
|
||||
state.push_session.queue_many(store_paths).unwrap();
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in a new issue