diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 23e7afa886..8e9206433c 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -11225,7 +11225,6 @@ dependencies = [ "hmac", "itertools 0.13.0", "lazy_static", - "opentelemetry", "prometheus", "regex", "reqwest 0.12.9", diff --git a/backend/src/monitor.rs b/backend/src/monitor.rs index 77537af80b..0e261b2d84 100644 --- a/backend/src/monitor.rs +++ b/backend/src/monitor.rs @@ -27,9 +27,6 @@ use windmill_api::{ SCIM_TOKEN, }; -#[cfg(feature = "enterprise")] -use windmill_api::{oauth2_ee::build_oauth_clients, OAUTH_CLIENTS}; - #[cfg(feature = "enterprise")] use windmill_common::ee::{jobs_waiting_alerts, worker_groups_alerts}; @@ -1470,8 +1467,8 @@ pub async fn reload_base_url_setting(db: &DB) -> error::Result<()> { #[cfg(feature = "oauth2")] { - let mut l = OAUTH_CLIENTS.write().await; - *l = build_oauth_clients(&base_url, oauths) + let mut l = windmill_api::OAUTH_CLIENTS.write().await; + *l = windmill_api::oauth2_ee::build_oauth_clients(&base_url, oauths) .map_err(|e| tracing::error!("Error building oauth clients (is the oauth.json mounted and in correct format? Use '{}' as minimal oauth.json): {}", "{}", e)) .unwrap(); } diff --git a/backend/windmill-queue/Cargo.toml b/backend/windmill-queue/Cargo.toml index 8f94de918a..a89a9d56fa 100644 --- a/backend/windmill-queue/Cargo.toml +++ b/backend/windmill-queue/Cargo.toml @@ -44,4 +44,3 @@ axum.workspace = true serde_urlencoded.workspace = true regex.workspace = true backon.workspace = true -opentelemetry.workspace = true