Rename operation to IndexCompaction

This commit is contained in:
Kerollmops
2025-10-06 16:19:04 +02:00
committed by Clément Renault
parent 77baf91b0a
commit cf55420d25
11 changed files with 45 additions and 41 deletions

View File

@@ -158,7 +158,7 @@ pub enum KindDump {
UpgradeDatabase {
from: (u32, u32, u32),
},
CompactIndex {
IndexCompaction {
index_uid: String,
},
}
@@ -243,7 +243,9 @@ impl From<KindWithContent> for KindDump {
KindWithContent::UpgradeDatabase { from: version } => {
KindDump::UpgradeDatabase { from: version }
}
KindWithContent::CompactIndex { index_uid } => KindDump::CompactIndex { index_uid },
KindWithContent::IndexCompaction { index_uid } => {
KindDump::IndexCompaction { index_uid }
}
}
}
}