diff --git a/index-scheduler/src/task.rs b/index-scheduler/src/task.rs index bf9855896..a4dba9224 100644 --- a/index-scheduler/src/task.rs +++ b/index-scheduler/src/task.rs @@ -279,7 +279,7 @@ impl KindWithContent { KindWithContent::Settings { new_settings, .. } => Some(Details::Settings { settings: new_settings.clone(), }), - KindWithContent::IndexDeletion { .. } => Some(Details::IndexInfo { primary_key: None }), + KindWithContent::IndexDeletion { .. } => None, KindWithContent::IndexCreation { primary_key, .. } | KindWithContent::IndexUpdate { primary_key, .. } => Some(Details::IndexInfo { primary_key: primary_key.clone(),