diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-24 11:53:57 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-24 11:53:57 +0200 |
commit | be59cafd47652a995658bdb478f13e3307b39884 (patch) | |
tree | 9bb09e072f553bf1922b6721e5f339ea9e35f3d5 /src | |
parent | 0b43a7135153428f036be2056e197041797b0997 (diff) | |
download | garage-admin-api.tar.gz garage-admin-api.zip |
cargo fmtadmin-api
Diffstat (limited to 'src')
-rw-r--r-- | src/api/admin/bucket.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/admin/bucket.rs b/src/api/admin/bucket.rs index 283e54c6..849d28ac 100644 --- a/src/api/admin/bucket.rs +++ b/src/api/admin/bucket.rs @@ -291,12 +291,12 @@ pub async fn handle_create_bucket( .set_bucket_key_permissions( bucket.id, &la.access_key_id, - BucketKeyPerm{ + BucketKeyPerm { timestamp: now_msec(), allow_read: la.allow.read, allow_write: la.allow.write, allow_owner: la.allow.owner, - } + }, ) .await?; } |