mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 20:41:00 +00:00
clippy
This commit is contained in:
parent
e15a82c0c7
commit
a761daca34
2 changed files with 2 additions and 1 deletions
|
@ -560,7 +560,7 @@ async fn do_download_inline<S: Store + 'static>(
|
||||||
metrics::increment_counter!("pict-rs.files", "download" => "inline");
|
metrics::increment_counter!("pict-rs.files", "download" => "inline");
|
||||||
|
|
||||||
let (alias, delete_token, details) =
|
let (alias, delete_token, details) =
|
||||||
ingest_inline(stream, &repo, &store, &client, &config).await?;
|
ingest_inline(stream, &repo, &store, client, &config).await?;
|
||||||
|
|
||||||
Ok(HttpResponse::Created().json(&serde_json::json!({
|
Ok(HttpResponse::Created().json(&serde_json::json!({
|
||||||
"msg": "ok",
|
"msg": "ok",
|
||||||
|
|
|
@ -351,6 +351,7 @@ async fn process_image_jobs<S, F>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::too_many_arguments)]
|
||||||
async fn image_job_loop<S, F>(
|
async fn image_job_loop<S, F>(
|
||||||
repo: &Arc<dyn FullRepo>,
|
repo: &Arc<dyn FullRepo>,
|
||||||
store: &S,
|
store: &S,
|
||||||
|
|
Loading…
Reference in a new issue