[pbs-devel] [PATCH backup 13/13] api: config: run rustfmt
Maximiliano Sandoval
m.sandoval at proxmox.com
Mon Dec 2 10:58:08 CET 2024
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
src/api2/config/datastore.rs | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/api2/config/datastore.rs b/src/api2/config/datastore.rs
index 1dd9f82d9..df2681617 100644
--- a/src/api2/config/datastore.rs
+++ b/src/api2/config/datastore.rs
@@ -178,7 +178,11 @@ pub fn create_datastore(
}
if config.backing_device.is_none() && !config.path.starts_with("/") {
- param_bail!("path", "expected an absolute path, '{}' is not", config.path);
+ param_bail!(
+ "path",
+ "expected an absolute path, '{}' is not",
+ config.path
+ );
}
if config.backing_device.is_some() && config.path.starts_with("/") {
param_bail!(
--
2.39.5
More information about the pbs-devel
mailing list