aboutsummaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-05 14:59:15 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-05 14:59:15 +0100
commit2065f011ca3f7c736feecffd108c89d3f8019e85 (patch)
tree86d761c1d5bea219ea2013a7e72762b42097291a /src/table
parent243b7c9a1cbf0e1dc4e9cf3b935bd833e29dcf9d (diff)
downloadgarage-2065f011ca3f7c736feecffd108c89d3f8019e85.tar.gz
garage-2065f011ca3f7c736feecffd108c89d3f8019e85.zip
Implement /health admin API endpoint to check node health
Diffstat (limited to 'src/table')
-rw-r--r--src/table/replication/mode.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/replication/mode.rs b/src/table/replication/mode.rs
index c6f84c45..e244e063 100644
--- a/src/table/replication/mode.rs
+++ b/src/table/replication/mode.rs
@@ -1,3 +1,4 @@
+#[derive(Clone, Copy)]
pub enum ReplicationMode {
None,
TwoWay,