diff --git a/tap/tlstapper/tls_process_discoverer.go b/tap/tlstapper/tls_process_discoverer.go index 7b653acd9..f0341506d 100644 --- a/tap/tlstapper/tls_process_discoverer.go +++ b/tap/tlstapper/tls_process_discoverer.go @@ -32,7 +32,7 @@ func UpdateTapTargets(tls *TlsTapper, pods *[]v1.Pod, procfs string) error { LogError(err) } - if err := tls.AddGolangPid(procfs, pid, pod.Namespace); err != nil { + if err := tls.AddGolangPid(pid, pod.Namespace); err != nil { LogError(err) } } diff --git a/tap/tlstapper/tls_tapper.go b/tap/tlstapper/tls_tapper.go index 31734b188..2f185eb9a 100644 --- a/tap/tlstapper/tls_tapper.go +++ b/tap/tlstapper/tls_tapper.go @@ -82,7 +82,7 @@ func (t *TlsTapper) AddSsllibPid(procfs string, pid uint32, namespace string) er return t.tapLibsslPid(pid, sslLibrary, namespace) } -func (t *TlsTapper) AddGolangPid(procfs string, pid uint32, namespace string) error { +func (t *TlsTapper) AddGolangPid(pid uint32, namespace string) error { p, err := ps.FindProcess(int(pid)) if err != nil {