all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH  proxmox-backup] fmt: run cargo fmt
@ 2024-01-12 14:32 Stefan Lendl
  0 siblings, 0 replies; only message in thread
From: Stefan Lendl @ 2024-01-12 14:32 UTC (permalink / raw)
  To: pbs-devel

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
---
 pbs-datastore/src/datastore.rs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/pbs-datastore/src/datastore.rs b/pbs-datastore/src/datastore.rs
index a78f44aa..de948821 100644
--- a/pbs-datastore/src/datastore.rs
+++ b/pbs-datastore/src/datastore.rs
@@ -605,9 +605,7 @@ impl DataStore {
         owner
             .trim_end() // remove trailing newline
             .parse()
-            .map_err(|err| {
-                format_err!("parsing owner for {backup_group} failed: {err}")
-            })
+            .map_err(|err| format_err!("parsing owner for {backup_group} failed: {err}"))
     }
 
     pub fn owns_backup(
-- 
2.42.0





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-12 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-12 14:32 [pbs-devel] [PATCH proxmox-backup] fmt: run cargo fmt Stefan Lendl

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