Fix linter errors

This commit is contained in:
Daniel
2020-05-20 14:53:03 +02:00
parent e65ae8b55d
commit f1765a7abb
8 changed files with 24 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ var (
ErrProcessNotFound = errors.New("could not find process in system state tables")
)
// GetProcessByEndpoints returns the process that owns the described link.
// GetProcessByConnection returns the process that owns the described connection.
func GetProcessByConnection(ctx context.Context, pktInfo *packet.Info) (process *Process, connInbound bool, err error) {
if !enableProcessDetection() {
log.Tracer(ctx).Tracef("process: process detection disabled")