aboutsummaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-10-19 16:16:10 +0200
committerAlex Auvolat <alex@adnab.me>2021-10-19 23:39:45 +0200
commita8ae78af0ad2174480e64f9d4dd43b8381932f42 (patch)
treeb8b5c71a231f938af633be8502c78e7193f9f6ab /src/table
parent65070f3c05775f6692f4a16b6a304991d0510301 (diff)
downloadgarage-a8ae78af0ad2174480e64f9d4dd43b8381932f42.tar.gz
garage-a8ae78af0ad2174480e64f9d4dd43b8381932f42.zip
Adapt tests to new syntax with public keys
Diffstat (limited to 'src/table')
-rw-r--r--src/table/replication/fullcopy.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/table/replication/fullcopy.rs b/src/table/replication/fullcopy.rs
index ae6851fb..8f01fbdd 100644
--- a/src/table/replication/fullcopy.rs
+++ b/src/table/replication/fullcopy.rs
@@ -28,11 +28,7 @@ impl TableReplication for TableFullReplication {
fn write_nodes(&self, _hash: &Hash) -> Vec<Uuid> {
let ring = self.system.ring.borrow();
- ring.config
- .members
- .keys()
- .cloned()
- .collect::<Vec<_>>()
+ ring.config.members.keys().cloned().collect::<Vec<_>>()
}
fn write_quorum(&self) -> usize {
let nmembers = self.system.ring.borrow().config.members.len();