datastore: inline some format variables
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1ddfae5499
commit
addcb7803e
|
@ -713,9 +713,7 @@ impl BackupNamespace {
|
||||||
.strip_prefix(&source_prefix.inner[..])
|
.strip_prefix(&source_prefix.inner[..])
|
||||||
.ok_or_else(|| {
|
.ok_or_else(|| {
|
||||||
format_err!(
|
format_err!(
|
||||||
"Failed to map namespace - {} is not a valid prefix of {}",
|
"Failed to map namespace - {source_prefix} is not a valid prefix of {self}",
|
||||||
source_prefix,
|
|
||||||
self
|
|
||||||
)
|
)
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue