do verification: always verify if manifest load fails
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
328df3b507
commit
5428f5ca29
@ -186,4 +186,4 @@ pub fn complete_verification_job_id(_arg: &str, _param: &HashMap<String, String>
|
||||
Ok((data, _digest)) => data.sections.iter().map(|(id, _)| id.to_string()).collect(),
|
||||
Err(_) => return vec![],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ pub fn do_verification_job(
|
||||
}
|
||||
let manifest = match datastore2.load_manifest(&backup_info.backup_dir) {
|
||||
Ok((manifest, _)) => manifest,
|
||||
Err(_) => return false,
|
||||
Err(_) => return true,
|
||||
};
|
||||
|
||||
let raw_verify_state = manifest.unprotected["verify_state"].clone();
|
||||
|
Loading…
Reference in New Issue
Block a user