Skip to content

Commit

Permalink
Add missing method comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Jul 22, 2023
1 parent c6569e6 commit e18d7ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions process/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e18d7ad

Please sign in to comment.