Some work in actually storing things

This commit is contained in:
Alex Auvolat
2020-04-08 22:00:41 +02:00
parent d50edcdb4f
commit bacc76a057
11 changed files with 302 additions and 110 deletions
+6 -1
View File
@@ -124,6 +124,11 @@ impl Members {
i - 1
}
};
self.walk_ring_from_pos(start, n)
}
fn walk_ring_from_pos(&self, start: usize, n: usize) -> Vec<UUID> {
let mut ret = vec![];
let mut datacenters = vec![];
@@ -143,7 +148,7 @@ impl Members {
}
ret
}
}
}
fn read_network_config(metadata_dir: &PathBuf) -> Result<NetworkConfig, Error> {