diff --git a/socktop_agent/src/tls.rs b/socktop_agent/src/tls.rs index 6cdf723..b224556 100644 --- a/socktop_agent/src/tls.rs +++ b/socktop_agent/src/tls.rs @@ -48,7 +48,9 @@ pub fn ensure_self_signed_cert() -> anyhow::Result<(PathBuf, PathBuf)> { if let Ok(extra) = std::env::var("SOCKTOP_AGENT_EXTRA_SANS") { for raw in extra.split(',') { let s = raw.trim(); - if s.is_empty() { continue; } + if s.is_empty() { + continue; + } if let Ok(ip) = s.parse::() { params.subject_alt_names.push(SanType::IpAddress(ip)); } else {