Skip to content

fix: use correct error variable in unix TLS error path#1558

Open
Aprazor wants to merge 1 commit intoprometheus:masterfrom
Aprazor:fix/unix-tls-wrong-error-variable
Open

fix: use correct error variable in unix TLS error path#1558
Aprazor wants to merge 1 commit intoprometheus:masterfrom
Aprazor:fix/unix-tls-wrong-error-variable

Conversation

@Aprazor
Copy link

@Aprazor Aprazor commented Mar 22, 2026

The error path logged and returned 'err' (nil) instead of 'tlsErr',
silently swallowing TLS configuration failures and causing the caller
to proceed with a nil connection.

Signed-off-by: Aprazors Aprazors@gmail.com

The error path logged and returned 'err' (nil) instead of 'tlsErr', silently swallowing TLS configuration failures and causing the caller to proceed with a nil connection. Signed-off-by: Aprazors <Aprazors@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant