Fix netquery connection ID generation

This commit is contained in:
Daniel
2023-08-04 21:49:57 +02:00
parent aa0b42dd01
commit d0f4392b9d
4 changed files with 55 additions and 41 deletions

View File

@@ -314,10 +314,10 @@ func loadProcess(ctx context.Context, key string, pInfo *processInfo.Process) (*
return process, nil
}
// GetID returns the key that is used internally to identify the process.
// The ID consists of the PID and the start time of the process as reported by
// GetKey returns the key that is used internally to identify the process.
// The key consists of the PID and the start time of the process as reported by
// the system.
func (p *Process) GetID() string {
func (p *Process) GetKey() string {
return p.processKey
}