From 86e02f46551f93d89adf7e4bc1d6db8a394c6df9 Mon Sep 17 00:00:00 2001 From: Stephan Fitzpatrick Date: Fri, 14 Nov 2025 05:43:26 +0000 Subject: [PATCH] refactor: simplify ssl_mode check per bot review The ssl_mode values verify-ca and verify-full are already normalized to 'require' earlier in the function (line 689), so we only need to check for 'require' in the conditional. --- backend/windmill-api/src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-api/src/settings.rs b/backend/windmill-api/src/settings.rs index 9c5da2e20b..051bb4a176 100644 --- a/backend/windmill-api/src/settings.rs +++ b/backend/windmill-api/src/settings.rs @@ -701,7 +701,7 @@ async fn setup_ducklake_catalog_db_inner( sslmode = ssl_mode ); - let (client, connection) = if ssl_mode == "require" || ssl_mode == "verify-ca" || ssl_mode == "verify-full" { + let (client, connection) = if ssl_mode == "require" { use native_tls::TlsConnector; use postgres_native_tls::MakeTlsConnector;