cluster/services/storage: make replication_mode a string

This commit is contained in:
Max Headroom 2024-06-04 14:53:12 +02:00
parent ae4385d6d3
commit 75a4987efe

View file

@ -30,7 +30,7 @@ in
enable = true; enable = true;
package = depot.packages.garage; package = depot.packages.garage;
settings = { settings = {
replication_mode = 3; replication_mode = "3";
block_size = 16 * 1024 * 1024; block_size = 16 * 1024 * 1024;
db_engine = "lmdb"; db_engine = "lmdb";
metadata_dir = "/var/lib/garage-metadata"; metadata_dir = "/var/lib/garage-metadata";