Remove unused parameter

This commit is contained in:
M. Mert Yildiran 2022-05-30 22:27:39 +03:00
parent 4111f0f58c
commit be1a572f35
No known key found for this signature in database
GPG Key ID: D42ADB236521BF7A
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}

View File

@ -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 {