From 011ff87b5fd7cd1eea8713c7e21fcd827b69c149 Mon Sep 17 00:00:00 2001 From: Quentin Date: Tue, 15 Dec 2020 13:23:22 +0100 Subject: [PATCH] Push update --- src/garage/admin_rpc.rs | 1 + 1 file changed, 1 insertion(+) 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 {