aboutsummaryrefslogtreecommitdiff
path: root/src/garage
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-12-15 13:23:22 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-12-15 13:23:22 +0100
commit011ff87b5fd7cd1eea8713c7e21fcd827b69c149 (patch)
tree264785137ae543aaf90d148f9442a2bf602be14e /src/garage
parent3bc4d57a0f4a600c788a3c7ff51d633d1b7e6f09 (diff)
downloadgarage-011ff87b5fd7cd1eea8713c7e21fcd827b69c149.tar.gz
garage-011ff87b5fd7cd1eea8713c7e21fcd827b69c149.zip
Push update
Diffstat (limited to 'src/garage')
-rw-r--r--src/garage/admin_rpc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/garage/admin_rpc.rs b/src/garage/admin_rpc.rs
index 602e0b09..39dc0ed8 100644
--- a/src/garage/admin_rpc.rs
+++ b/src/garage/admin_rpc.rs
@@ -166,6 +166,7 @@ impl AdminRpcHandler {
if let BucketState::Present(state) = bucket.state.get_mut() {
state.website.update(query.allow);
+ self.garage.bucket_table.insert(&bucket).await?;
let msg = if query.allow {
format!("Website access allowed for {}", &query.bucket)
} else {