mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-14 15:23:19 +00:00
api: config: run rustfmt
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
cdeed5e440
commit
d61bac6841
@ -178,7 +178,11 @@ pub fn create_datastore(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if config.backing_device.is_none() && !config.path.starts_with("/") {
|
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("/") {
|
if config.backing_device.is_some() && config.path.starts_with("/") {
|
||||||
param_bail!(
|
param_bail!(
|
||||||
|
Loading…
Reference in New Issue
Block a user