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[..])
|
||||
.ok_or_else(|| {
|
||||
format_err!(
|
||||
"Failed to map namespace - {} is not a valid prefix of {}",
|
||||
source_prefix,
|
||||
self
|
||||
"Failed to map namespace - {source_prefix} is not a valid prefix of {self}",
|
||||
)
|
||||
})?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user