deleted zone_redundancy from System struct

This commit is contained in:
Mendes 2022-10-04 18:09:24 +02:00
parent bd842e1388
commit 99f96b9564

View file

@ -97,7 +97,6 @@ pub struct System {
kubernetes_discovery: Option<KubernetesDiscoveryParam>, kubernetes_discovery: Option<KubernetesDiscoveryParam>,
replication_factor: usize, replication_factor: usize,
zone_redundancy: usize,
/// The ring /// The ring
pub ring: watch::Receiver<Arc<Ring>>, pub ring: watch::Receiver<Arc<Ring>>,
@ -287,7 +286,6 @@ impl System {
rpc: RpcHelper::new(netapp.id.into(), fullmesh, background.clone(), ring.clone()), rpc: RpcHelper::new(netapp.id.into(), fullmesh, background.clone(), ring.clone()),
system_endpoint, system_endpoint,
replication_factor, replication_factor,
zone_redundancy,
rpc_listen_addr: config.rpc_bind_addr, rpc_listen_addr: config.rpc_bind_addr,
rpc_public_addr, rpc_public_addr,
bootstrap_peers: config.bootstrap_peers.clone(), bootstrap_peers: config.bootstrap_peers.clone(),