diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-12-15 13:23:22 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-12-15 13:23:22 +0100 |
commit | 011ff87b5fd7cd1eea8713c7e21fcd827b69c149 (patch) | |
tree | 264785137ae543aaf90d148f9442a2bf602be14e /src/garage/admin_rpc.rs | |
parent | 3bc4d57a0f4a600c788a3c7ff51d633d1b7e6f09 (diff) | |
download | garage-011ff87b5fd7cd1eea8713c7e21fcd827b69c149.tar.gz garage-011ff87b5fd7cd1eea8713c7e21fcd827b69c149.zip |
Push update
Diffstat (limited to 'src/garage/admin_rpc.rs')
-rw-r--r-- | src/garage/admin_rpc.rs | 1 |
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 { |