diff options
author | Alex Auvolat <alex@adnab.me> | 2022-03-16 12:09:50 +0100 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2022-03-24 16:57:43 +0100 |
commit | 9d0ed788879ad50450ebd44cd2a0b4fc942d45b6 (patch) | |
tree | 34225ffffac6b0bd3d2788d9827c08e4ae5e1afd /src/util | |
parent | 509d256c58ccb1aa0041569556465908453976b3 (diff) | |
download | garage-9d0ed788879ad50450ebd44cd2a0b4fc942d45b6.tar.gz garage-9d0ed788879ad50450ebd44cd2a0b4fc942d45b6.zip |
Add feature flag for Kubernetes discovery
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Cargo.toml | 3 | ||||
-rw-r--r-- | src/util/error.rs | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/util/Cargo.toml b/src/util/Cargo.toml index a1b7b611..f42526de 100644 --- a/src/util/Cargo.toml +++ b/src/util/Cargo.toml @@ -40,7 +40,4 @@ netapp = "0.4.1" http = "0.2" hyper = "0.14" -kube = { version = "0.62", features = ["runtime", "derive"] } -k8s-openapi = { version = "0.13", features = ["v1_22"] } - opentelemetry = "0.17" diff --git a/src/util/error.rs b/src/util/error.rs index 93b28038..bdb3a69b 100644 --- a/src/util/error.rs +++ b/src/util/error.rs @@ -23,9 +23,6 @@ pub enum Error { #[error(display = "Invalid HTTP header value: {}", _0)] HttpHeader(#[error(source)] http::header::ToStrError), - #[error(display = "kubernetes error: {}", _0)] - Kubernetes(#[error(source)] kube::Error), - #[error(display = "Netapp error: {}", _0)] Netapp(#[error(source)] netapp::error::Error), |