aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/system.rs
diff options
context:
space:
mode:
authorMendes <mendes.oulamara@pm.me>2022-10-04 18:09:24 +0200
committerMendes <mendes.oulamara@pm.me>2022-10-04 18:09:24 +0200
commit99f96b9564c9c841dc6c56f1255a6e70ff884d46 (patch)
tree8ccbcc119f5555f046b571fe4d06134a61660041 /src/rpc/system.rs
parentbd842e1388a324e2a3956465e9b32d0dc739a8d9 (diff)
downloadgarage-99f96b9564c9c841dc6c56f1255a6e70ff884d46.tar.gz
garage-99f96b9564c9c841dc6c56f1255a6e70ff884d46.zip
deleted zone_redundancy from System struct
Diffstat (limited to 'src/rpc/system.rs')
-rw-r--r--src/rpc/system.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rpc/system.rs b/src/rpc/system.rs
index 313671ca..34031b10 100644
--- a/src/rpc/system.rs
+++ b/src/rpc/system.rs
@@ -97,7 +97,6 @@ pub struct System {
kubernetes_discovery: Option<KubernetesDiscoveryParam>,
replication_factor: usize,
- zone_redundancy: usize,
/// The ring
pub ring: watch::Receiver<Arc<Ring>>,
@@ -287,7 +286,6 @@ impl System {
rpc: RpcHelper::new(netapp.id.into(), fullmesh, background.clone(), ring.clone()),
system_endpoint,
replication_factor,
- zone_redundancy,
rpc_listen_addr: config.rpc_bind_addr,
rpc_public_addr,
bootstrap_peers: config.bootstrap_peers.clone(),