aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/layout/history.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-11-09 15:42:10 +0100
committerAlex Auvolat <alex@adnab.me>2023-11-09 15:42:10 +0100
commitbad7cc812ead88e9f334405c5c082d79c14c8898 (patch)
tree70d4e734babf1a4d07125ac0cca9acaf10d9b2f5 /src/rpc/layout/history.rs
parent03ebf18830dff1983f09abe6ecb8d8d26daeb446 (diff)
downloadgarage-bad7cc812ead88e9f334405c5c082d79c14c8898.tar.gz
garage-bad7cc812ead88e9f334405c5c082d79c14c8898.zip
layout admin: add missing calls to update_hash
Diffstat (limited to 'src/rpc/layout/history.rs')
-rw-r--r--src/rpc/layout/history.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/layout/history.rs b/src/rpc/layout/history.rs
index 347f03db..e17a1c77 100644
--- a/src/rpc/layout/history.rs
+++ b/src/rpc/layout/history.rs
@@ -40,7 +40,7 @@ impl LayoutHistory {
.collect::<HashSet<_>>()
}
- pub(crate) fn update_hashes(&mut self) {
+ pub fn update_hashes(&mut self) {
self.trackers_hash = self.calculate_trackers_hash();
self.staging_hash = self.calculate_staging_hash();
}