datastore: drop Ord from BackupGroup
This one is supposed to be linked to a datastore instance, so it won't be Ord for now. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -410,7 +410,7 @@ fn backup_worker(
|
||||
|
||||
let mut group_list = datastore.list_backup_groups()?;
|
||||
|
||||
group_list.sort_unstable();
|
||||
group_list.sort_unstable_by(|a, b| a.group().cmp(b.group()));
|
||||
|
||||
let (group_list, group_count) = if let Some(group_filters) = &setup.group_filter {
|
||||
let filter_fn = |group: &BackupGroup, group_filters: &[GroupFilter]| {
|
||||
|
@ -550,7 +550,7 @@ pub fn verify_all_backups(
|
||||
}
|
||||
};
|
||||
|
||||
list.sort_unstable();
|
||||
list.sort_unstable_by(|a, b| a.group().cmp(b.group()));
|
||||
|
||||
let group_count = list.len();
|
||||
task_log!(worker, "found {} groups", group_count);
|
||||
|
Reference in New Issue
Block a user