Rename the Snapshot task into SnapshotCreation

This commit is contained in:
Kerollmops 2022-10-25 10:44:58 +02:00 committed by Clément Renault
parent 4d43a9f5b1
commit e0548e42e7
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
6 changed files with 24 additions and 19 deletions

View file

@ -256,7 +256,7 @@ pub fn swap_index_uid_in_task(task: &mut Task, swap: (&str, &str)) {
K::TaskCancelation { .. }
| K::TaskDeletion { .. }
| K::DumpCreation { .. }
| K::Snapshot => {}
| K::SnapshotCreation => (),
};
if let Some(Details::IndexSwap { swaps }) = &mut task.details {
for (lhs, rhs) in swaps.iter_mut() {