Cargo fmt

This commit is contained in:
Loïc Lecrenier 2022-10-27 16:23:12 +02:00
parent 2c31d7c50a
commit 8dd7942656

View File

@ -465,10 +465,7 @@ async fn get_task(
analytics.publish("Tasks Seen".to_string(), json!({ "per_task_uid": true }), Some(&req)); analytics.publish("Tasks Seen".to_string(), json!({ "per_task_uid": true }), Some(&req));
let query = index_scheduler::Query { let query = index_scheduler::Query { uid: Some(vec![task_id]), ..Query::default() };
uid: Some(vec![task_id]),
..Query::default()
};
if let Some(task) = index_scheduler if let Some(task) = index_scheduler
.get_tasks_from_authorized_indexes( .get_tasks_from_authorized_indexes(