aboutsummaryrefslogtreecommitdiff
path: root/src/model/helper/locked.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/helper/locked.rs')
-rw-r--r--src/model/helper/locked.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/helper/locked.rs b/src/model/helper/locked.rs
index f8e06add..b541d548 100644
--- a/src/model/helper/locked.rs
+++ b/src/model/helper/locked.rs
@@ -279,7 +279,8 @@ impl<'a> LockedHelper<'a> {
.local_aliases
.get(alias_name)
.cloned()
- .flatten() != Some(bucket_id)
+ .flatten()
+ != Some(bucket_id)
{
return Err(GarageError::Message(format!(
"Bucket {:?} does not have alias {} in namespace of key {}",