mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-15 07:05:27 +00:00
Remove unused parameter
This commit is contained in:
parent
4111f0f58c
commit
be1a572f35
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user