diff options
Diffstat (limited to 'src/model/helper')
-rw-r--r-- | src/model/helper/bucket.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/helper/bucket.rs b/src/model/helper/bucket.rs index d43d7e96..8cd5b27b 100644 --- a/src/model/helper/bucket.rs +++ b/src/model/helper/bucket.rs @@ -453,7 +453,7 @@ impl<'a> BucketHelper<'a> { use garage_rpc::layout::ClusterLayout; use std::sync::Arc; - let layout: Arc<ClusterLayout> = self.0.system.layout_watch.borrow().clone(); + let layout: Arc<ClusterLayout> = self.0.system.cluster_layout().clone(); let k2vindexes = self .0 .k2v |