aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/lib.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-03-16 12:09:50 +0100
committerGitea <gitea@fake.local>2022-03-24 16:57:43 +0100
commit9d0ed788879ad50450ebd44cd2a0b4fc942d45b6 (patch)
tree34225ffffac6b0bd3d2788d9827c08e4ae5e1afd /src/rpc/lib.rs
parent509d256c58ccb1aa0041569556465908453976b3 (diff)
downloadgarage-9d0ed788879ad50450ebd44cd2a0b4fc942d45b6.tar.gz
garage-9d0ed788879ad50450ebd44cd2a0b4fc942d45b6.zip
Add feature flag for Kubernetes discovery
Diffstat (limited to 'src/rpc/lib.rs')
-rw-r--r--src/rpc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/lib.rs b/src/rpc/lib.rs
index b8fb9772..392ff48f 100644
--- a/src/rpc/lib.rs
+++ b/src/rpc/lib.rs
@@ -4,6 +4,7 @@
extern crate tracing;
mod consul;
+#[cfg(feature = "kubernetes-discovery")]
mod kubernetes;
pub mod layout;