From e4e1f8f0d60545d81c1082ca5f0194962a4a4f79 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 12 May 2022 17:11:45 +0200 Subject: Fix clippy --- src/api/admin/bucket.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/api/admin/bucket.rs') diff --git a/src/api/admin/bucket.rs b/src/api/admin/bucket.rs index 6901f139..2a25bb18 100644 --- a/src/api/admin/bucket.rs +++ b/src/api/admin/bucket.rs @@ -349,14 +349,14 @@ pub async fn handle_delete_bucket( for ((key_id, alias), _, active) in state.local_aliases.items().iter() { if *active { helper - .unset_local_bucket_alias(bucket.id, &key_id, &alias) + .unset_local_bucket_alias(bucket.id, key_id, alias) .await?; } } // 3. delete all global aliases for (alias, _, active) in state.aliases.items().iter() { if *active { - helper.purge_global_bucket_alias(bucket.id, &alias).await?; + helper.purge_global_bucket_alias(bucket.id, alias).await?; } } -- cgit v1.2.3