all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Lukas Wagner <l.wagner@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>,
	Gabriel Goller <g.goller@proxmox.com>
Subject: Re: [pbs-devel] [PATCH proxmox-backup] pbs-client: fixed typo in error message
Date: Wed, 10 Apr 2024 14:47:27 +0200	[thread overview]
Message-ID: <efe8134a-8606-4cce-82d0-c6cee4dd56a5@proxmox.com> (raw)
In-Reply-To: <20240410121453.81033-1-g.goller@proxmox.com>



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




  reply	other threads:[~2024-04-10 12:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-10 12:14 Gabriel Goller
2024-04-10 12:47 ` Lukas Wagner [this message]
2024-04-10 12:55   ` Gabriel Goller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=efe8134a-8606-4cce-82d0-c6cee4dd56a5@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=g.goller@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal