public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] pbs-client: fixed typo in error message
@ 2024-04-10 12:14 Gabriel Goller
  2024-04-10 12:47 ` Lukas Wagner
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Goller @ 2024-04-10 12:14 UTC (permalink / raw)
  To: pbs-devel

Fixed error message on the client: 'dynmamic' -> 'dynamic'.

Signed-off-by: Gabriel Goller <g.goller@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)
         })?;
         // Note: do not use values stored in index (not trusted) - instead, computed them again
         let (csum, size) = index.compute_csum();
-- 
2.43.0





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pbs-devel] [PATCH proxmox-backup] pbs-client: fixed typo in error message
  2024-04-10 12:14 [pbs-devel] [PATCH proxmox-backup] pbs-client: fixed typo in error message Gabriel Goller
@ 2024-04-10 12:47 ` Lukas Wagner
  2024-04-10 12:55   ` Gabriel Goller
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas Wagner @ 2024-04-10 12:47 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Gabriel Goller



On  2024-04-10 14:14, Gabriel Goller wrote:
> Fixed error message on the client: 'dynmamic' -> 'dynamic'.
> 
> Signed-off-by: Gabriel Goller <g.goller@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pbs-devel] [PATCH proxmox-backup] pbs-client: fixed typo in error message
  2024-04-10 12:47 ` Lukas Wagner
@ 2024-04-10 12:55   ` Gabriel Goller
  0 siblings, 0 replies; 3+ messages in thread
From: Gabriel Goller @ 2024-04-10 12:55 UTC (permalink / raw)
  To: Lukas Wagner, Proxmox Backup Server development discussion

Good point!
Sent a v2.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-10 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 12:14 [pbs-devel] [PATCH proxmox-backup] pbs-client: fixed typo in error message Gabriel Goller
2024-04-10 12:47 ` Lukas Wagner
2024-04-10 12:55   ` Gabriel Goller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal