mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-02-25 17:57:35 +03:00
tree-wide: fix various typos
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f418479aaa
commit
269b7bffc7
@ -439,13 +439,13 @@ impl Archiver {
|
||||
);
|
||||
return Ok(Some(range));
|
||||
}
|
||||
log::debug!("reencode: {file_name:?} not a regular file.");
|
||||
log::debug!("re-encode: {file_name:?} not a regular file.");
|
||||
return Ok(None);
|
||||
}
|
||||
log::debug!("reencode: {file_name:?} metadata did not match.");
|
||||
log::debug!("re-encode: {file_name:?} metadata did not match.");
|
||||
return Ok(None);
|
||||
}
|
||||
log::debug!("reencode: {file_name:?} not found in previous archive.");
|
||||
log::debug!("re-encode: {file_name:?} not found in previous archive.");
|
||||
}
|
||||
|
||||
Ok(None)
|
||||
@ -1063,7 +1063,7 @@ impl Archiver {
|
||||
}
|
||||
|
||||
// Take ownership of cached entries and encode them to the archive
|
||||
// Encode with reused payload chunks when base offset is some, reencode otherwise
|
||||
// Encode with reused payload chunks when base offset is some, re-encode otherwise
|
||||
async fn encode_entries_to_archive<T: SeqWrite + Send>(
|
||||
&mut self,
|
||||
encoder: &mut Encoder<'_, T>,
|
||||
|
@ -159,7 +159,7 @@ pub(crate) fn do_create_datastore(
|
||||
},
|
||||
},
|
||||
access: {
|
||||
description: "Requires Datastore.Allocate and, for a backing-device, Sys.Modfiy on '/system/disks'.",
|
||||
description: "Requires Datastore.Allocate and, for a backing-device, Sys.Modify on '/system/disks'.",
|
||||
permission: &Permission::Privilege(&["datastore"], PRIV_DATASTORE_ALLOCATE, false),
|
||||
},
|
||||
)]
|
||||
@ -178,7 +178,7 @@ pub fn create_datastore(
|
||||
}
|
||||
|
||||
if config.backing_device.is_none() && !config.path.starts_with("/") {
|
||||
param_bail!("path", "expected an abolute path, '{}' is not", config.path);
|
||||
param_bail!("path", "expected an absolute path, '{}' is not", config.path);
|
||||
}
|
||||
if config.backing_device.is_some() && config.path.starts_with("/") {
|
||||
param_bail!(
|
||||
@ -543,7 +543,7 @@ pub fn update_datastore(
|
||||
},
|
||||
},
|
||||
access: {
|
||||
description: "Requires Datastore.Allocate and, for a backing-device, Sys.Modfiy on '/system/disks'.",
|
||||
description: "Requires Datastore.Allocate and, for a backing-device, Sys.Modify on '/system/disks'.",
|
||||
permission: &Permission::Privilege(&["datastore", "{name}"], PRIV_DATASTORE_ALLOCATE, false),
|
||||
},
|
||||
returns: {
|
||||
|
@ -458,7 +458,7 @@ fn inspect_device(device: String, param: Value) -> Result<(), Error> {
|
||||
std::fs::remove_dir(std::path::Path::new(&tmp_mount_path))?;
|
||||
|
||||
if output_format == "text" {
|
||||
println!("Device containes {} stores", ds_count);
|
||||
println!("Device contains {ds_count} stores");
|
||||
println!("---------------");
|
||||
for s in stores {
|
||||
println!(
|
||||
|
Loading…
x
Reference in New Issue
Block a user