From 61b1bc3679c88b349d2adbc2d445ead962ceca5e Mon Sep 17 00:00:00 2001 From: 11111111 <127168437+khongluadao@users.noreply.github.com> Date: Sun, 16 Aug 2026 02:09:04 +0700 Subject: [PATCH] fix(cli): propagate eventaddr to TLS probes --- cli/cmd/gotls.go | 1 + cli/cmd/tls.go | 1 + 2 files changed, 2 insertions(+) diff --git a/cli/cmd/gotls.go b/cli/cmd/gotls.go index 8b1a27041..2dfb4f304 100644 --- a/cli/cmd/gotls.go +++ b/cli/cmd/gotls.go @@ -68,6 +68,7 @@ func goTLSCommandFunc(command *cobra.Command, args []string) error { gotlsConfig.SetBTF(globalConf.BtfMode) gotlsConfig.SetPerCpuMapSize(globalConf.PerCpuMapSize) gotlsConfig.SetTruncateSize(globalConf.TruncateSize) + gotlsConfig.SetEventCollectorAddr(globalConf.EventCollectorAddr) // Run probe using the common entry point return runProbe(factory.ProbeTypeGoTLS, gotlsConfig) } diff --git a/cli/cmd/tls.go b/cli/cmd/tls.go index ef1a45515..7e3380184 100644 --- a/cli/cmd/tls.go +++ b/cli/cmd/tls.go @@ -74,6 +74,7 @@ func openSSLCommandFunc(command *cobra.Command, args []string) error { opensslConfig.SetBTF(globalConf.BtfMode) opensslConfig.SetPerCpuMapSize(globalConf.PerCpuMapSize) opensslConfig.SetTruncateSize(globalConf.TruncateSize) + opensslConfig.SetEventCollectorAddr(globalConf.EventCollectorAddr) // Run probe using the common entry point return runProbe(factory.ProbeTypeOpenSSL, opensslConfig)