[pbs-devel] [PATCH proxmox-backup] pbs-client: fixed typo in error message
Lukas Wagner
l.wagner at proxmox.com
Wed Apr 10 14:47:27 CEST 2024
On 2024-04-10 14:14, Gabriel Goller wrote:
> Fixed error message on the client: 'dynmamic' -> 'dynamic'.
>
> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
> ---
> pbs-client/src/backup_writer.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pbs-client/src/backup_writer.rs b/pbs-client/src/backup_writer.rs
> index 8bd0e4f3..e8ba885f 100644
> --- a/pbs-client/src/backup_writer.rs
> +++ b/pbs-client/src/backup_writer.rs
> @@ -574,7 +574,7 @@ impl BackupWriter {
> .await?;
>
> let index = DynamicIndexReader::new(tmpfile).map_err(|err| {
> - format_err!("unable to read dynmamic index '{}' - {}", archive_name, err)
> + format_err!("unable to read dynamic index '{}' - {}", archive_name, err)
You could inline the vars into the format string at this opportunity :)
--
- Lukas
More information about the pbs-devel
mailing list