aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-08-30 20:07:14 +0200
committerAlex Auvolat <alex@adnab.me>2023-08-30 20:07:14 +0200
commita1d57283c0b37baabfb624d3696cc6efbaa4a500 (patch)
treed0c69925546ccf3cd7d0d906f48288d199be3f36 /src
parentd2e94e36d64d4062ebe1fabac65ac1a6f265de17 (diff)
downloadgarage-a1d57283c0b37baabfb624d3696cc6efbaa4a500.tar.gz
garage-a1d57283c0b37baabfb624d3696cc6efbaa4a500.zip
bucket_table: bucketparams::new doesn't need to be pub
Diffstat (limited to 'src')
-rw-r--r--src/model/bucket_table.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/bucket_table.rs b/src/model/bucket_table.rs
index 0eefa0e5..4c48a76f 100644
--- a/src/model/bucket_table.rs
+++ b/src/model/bucket_table.rs
@@ -127,7 +127,7 @@ impl AutoCrdt for BucketQuotas {
impl BucketParams {
/// Create an empty BucketParams with no authorized keys and no website accesss
- pub fn new() -> Self {
+ fn new() -> Self {
BucketParams {
creation_date: now_msec(),
authorized_keys: crdt::Map::new(),