diff options
Diffstat (limited to 'src/api/k2v')
-rw-r--r-- | src/api/k2v/index.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/k2v/index.rs b/src/api/k2v/index.rs index ff8beda3..3fc39de6 100644 --- a/src/api/k2v/index.rs +++ b/src/api/k2v/index.rs @@ -26,7 +26,7 @@ pub async fn handle_read_index( ) -> Result<Response<Body>, Error> { let reverse = reverse.unwrap_or(false); - let layout: Arc<ClusterLayout> = garage.system.layout_watch.borrow().clone(); + let layout: Arc<ClusterLayout> = garage.system.cluster_layout().clone(); let (partition_keys, more, next_start) = read_range( &garage.k2v.counter_table.table, |