From e18d7ade3dcc064b9a3f32da0a5d51b840d2cfd8 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 22 Jul 2023 20:42:26 +0200 Subject: [PATCH] Add missing method comment --- process/process.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/process/process.go b/process/process.go index 99c281cc..9f0acc7e 100644 --- a/process/process.go +++ b/process/process.go @@ -313,6 +313,9 @@ 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 +// the system. func (p *Process) GetID() string { return p.processKey }