aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/system.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-03-27 13:37:20 +0100
committerAlex Auvolat <alex@adnab.me>2024-03-27 13:37:20 +0100
commit32f1786f9ff17f12911f5f3f37e2d1c35d534f59 (patch)
treea7ae40d9b0f75c8a264734bb3fee314dfe699c25 /src/rpc/system.rs
parent01a0bd54106941156ca998be1a44b8ac2c3aa74a (diff)
downloadgarage-32f1786f9ff17f12911f5f3f37e2d1c35d534f59.tar.gz
garage-32f1786f9ff17f12911f5f3f37e2d1c35d534f59.zip
[next-0.10] cache layout check result
Diffstat (limited to 'src/rpc/system.rs')
-rw-r--r--src/rpc/system.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/system.rs b/src/rpc/system.rs
index b38e2e01..91a42415 100644
--- a/src/rpc/system.rs
+++ b/src/rpc/system.rs
@@ -634,7 +634,7 @@ impl System {
.filter(|p| p.is_up())
.count();
- let not_configured = self.cluster_layout().inner().check().is_err();
+ let not_configured = !self.cluster_layout().is_check_ok();
let no_peers = n_connected < self.replication_factor.into();
let expected_n_nodes = self.cluster_layout().all_nodes().len();
let bad_peers = n_connected != expected_n_nodes;