aboutsummaryrefslogtreecommitdiff
path: root/src/garage/secrets.rs
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2024-03-07 16:32:52 +0000
committerAlex <alex@adnab.me>2024-03-07 16:32:52 +0000
commit20c0b4ffb2ae8e250068f8bf8001b5811a6bb6f2 (patch)
treeee7ab2f5eaf862927ef87d43e661557906742cc5 /src/garage/secrets.rs
parent2fd13c7d135949a83ed52ed81672ac7e1956f134 (diff)
parentc1769bbe69f723fb3980cf4fdac7615cfb782720 (diff)
downloadgarage-20c0b4ffb2ae8e250068f8bf8001b5811a6bb6f2.tar.gz
garage-20c0b4ffb2ae8e250068f8bf8001b5811a6bb6f2.zip
Merge pull request 'ReplicationMode -> ConsistencyMode+ReplicationFactor' (#750) from yuka/garage:split-consistency-mode into next-0.10
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/750
Diffstat (limited to 'src/garage/secrets.rs')
-rw-r--r--src/garage/secrets.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/garage/secrets.rs b/src/garage/secrets.rs
index c3d704aa..8d2ff475 100644
--- a/src/garage/secrets.rs
+++ b/src/garage/secrets.rs
@@ -163,7 +163,7 @@ mod tests {
r#"
metadata_dir = "/tmp/garage/meta"
data_dir = "/tmp/garage/data"
- replication_mode = "3"
+ replication_factor = 3
rpc_bind_addr = "[::]:3901"
rpc_secret_file = "{}"
@@ -185,7 +185,7 @@ mod tests {
r#"
metadata_dir = "/tmp/garage/meta"
data_dir = "/tmp/garage/data"
- replication_mode = "3"
+ replication_factor = 3
rpc_bind_addr = "[::]:3901"
rpc_secret_file = "{}"
allow_world_readable_secrets = true
@@ -296,7 +296,7 @@ mod tests {
r#"
metadata_dir = "/tmp/garage/meta"
data_dir = "/tmp/garage/data"
- replication_mode = "3"
+ replication_factor = 3
rpc_bind_addr = "[::]:3901"
rpc_secret= "dummy"
rpc_secret_file = "dummy"