From f1b1cfdbccdcb4245ed18007f93ace8276d67678 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Wed, 5 Oct 2022 16:56:25 +0200 Subject: [PATCH] IndexDeletion operation have ClearAll details --- index-scheduler/src/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),