tools: parse_objset_stat: drop the unecessary 'objset-' from the log

'objset_id' already contains that, so the error was
"could not parse 'objset-objset-0xFFFF' stat file"

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Dominik Csapak 2022-03-07 09:13:31 +01:00 committed by Wolfgang Bumiller
parent 6dd5944772
commit 904ce33d9f

View File

@ -124,7 +124,7 @@ fn parse_objset_stat(pool: &str, objset_id: &str) -> Result<(String, BlockDevSta
let text = match proxmox_sys::fs::file_read_optional_string(&path)? {
Some(text) => text,
None => bail!("could not parse 'objset-{}' stat file", objset_id),
None => bail!("could not parse '{}' stat file", objset_id),
};
let mut dataset_name = String::new();