diff options
Diffstat (limited to 'src/rpc/system.rs')
-rw-r--r-- | src/rpc/system.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/system.rs b/src/rpc/system.rs index 9e0bfa11..7eb25195 100644 --- a/src/rpc/system.rs +++ b/src/rpc/system.rs @@ -196,6 +196,7 @@ impl System { network_key: NetworkKey, background: Arc<BackgroundRunner>, replication_factor: usize, + zone_redundancy: usize, config: &Config, ) -> Result<Arc<Self>, Error> { let node_key = @@ -225,7 +226,7 @@ impl System { "No valid previous cluster layout stored ({}), starting fresh.", e ); - ClusterLayout::new(replication_factor) + ClusterLayout::new(replication_factor, zone_redundancy) } }; |