diff options
author | Alex <alex@adnab.me> | 2024-03-07 16:32:52 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-03-07 16:32:52 +0000 |
commit | 20c0b4ffb2ae8e250068f8bf8001b5811a6bb6f2 (patch) | |
tree | ee7ab2f5eaf862927ef87d43e661557906742cc5 /src/rpc/system_metrics.rs | |
parent | 2fd13c7d135949a83ed52ed81672ac7e1956f134 (diff) | |
parent | c1769bbe69f723fb3980cf4fdac7615cfb782720 (diff) | |
download | garage-20c0b4ffb2ae8e250068f8bf8001b5811a6bb6f2.tar.gz garage-20c0b4ffb2ae8e250068f8bf8001b5811a6bb6f2.zip |
Merge pull request 'ReplicationMode -> ConsistencyMode+ReplicationFactor' (#750) from yuka/garage:split-consistency-mode into next-0.10
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/750
Diffstat (limited to 'src/rpc/system_metrics.rs')
-rw-r--r-- | src/rpc/system_metrics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/system_metrics.rs b/src/rpc/system_metrics.rs index 0bb55bf3..a64daec8 100644 --- a/src/rpc/system_metrics.rs +++ b/src/rpc/system_metrics.rs @@ -68,7 +68,7 @@ impl SystemMetrics { let replication_factor = system.replication_factor; meter .u64_value_observer("garage_replication_factor", move |observer| { - observer.observe(replication_factor as u64, &[]) + observer.observe(replication_factor.replication_factor() as u64, &[]) }) .with_description("Garage replication factor setting") .init() |