From: Wolfgang Bumiller <w.bumiller@proxmox.com>
To: Christian Ebner <c.ebner@proxmox.com>
Cc: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] partially-applied: [PATCH proxmox-backup 1/2] client: style cleanup: inline variable names in format string
Date: Thu, 20 Feb 2025 16:20:55 +0100 [thread overview]
Message-ID: <7ddpouza53cv662yje6j2o2uyb4tfblwq72p2wjiqrvs3tzwsw@dsgfufjiuj7y> (raw)
In-Reply-To: <20250220120920.196450-1-c.ebner@proxmox.com>
applied this one, thanks
On Thu, Feb 20, 2025 at 01:09:19PM +0100, Christian Ebner wrote:
> Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
> ---
> pbs-client/src/backup_specification.rs | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/pbs-client/src/backup_specification.rs b/pbs-client/src/backup_specification.rs
> index cd9e34243..b6fbc555c 100644
> --- a/pbs-client/src/backup_specification.rs
> +++ b/pbs-client/src/backup_specification.rs
> @@ -35,7 +35,7 @@ pub fn parse_backup_specification(value: &str) -> Result<BackupSpecification, Er
> "img" => BackupSpecificationType::IMAGE,
> "conf" => BackupSpecificationType::CONFIG,
> "log" => BackupSpecificationType::LOGFILE,
> - _ => bail!("unknown backup source type '{}'", extension),
> + _ => bail!("unknown backup source type '{extension}'"),
> };
> return Ok(BackupSpecification {
> archive_name,
> @@ -44,7 +44,7 @@ pub fn parse_backup_specification(value: &str) -> Result<BackupSpecification, Er
> });
> }
>
> - bail!("unable to parse backup source specification '{}'", value);
> + bail!("unable to parse backup source specification '{value}'");
> }
>
> #[api]
> --
> 2.39.5
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
prev parent reply other threads:[~2025-02-20 15:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 12:09 [pbs-devel] " Christian Ebner
2025-02-20 12:09 ` [pbs-devel] [PATCH proxmox-backup 2/2] fix #6185: client/docs: explicitly mention archive name restrictions Christian Ebner
2025-02-20 15:22 ` Wolfgang Bumiller
2025-02-20 15:27 ` Christian Ebner
2025-02-20 15:58 ` Christian Ebner
2025-02-20 15:20 ` Wolfgang Bumiller [this message]
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=7ddpouza53cv662yje6j2o2uyb4tfblwq72p2wjiqrvs3tzwsw@dsgfufjiuj7y \
--to=w.bumiller@proxmox.com \
--cc=c.ebner@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 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