Skip to content

Commit

Permalink
[receiver/hostmetrics] Fix invalid return type on other OSs (#24379)
Browse files Browse the repository at this point in the history
Closes #24378

Signed-off-by: Benedikt Bongartz <[email protected]>
  • Loading branch information
frzifus committed Jul 18, 2023
1 parent 7ceba4e commit 5f40119
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ func (s *scraper) recordCPUTimeMetric(now pcommon.Timestamp, cpuTime *cpu.TimesS
func (s *scraper) recordCPUUtilization(now pcommon.Timestamp, cpuUtilization ucal.CPUUtilization) {}

func getProcessName(processHandle, string) (string, error) {
return nil, nil
return "", nil
}

func getProcessExecutable(processHandle) (string, error) {
return nil, nil
return "", nil
}

func getProcessCommand(processHandle) (*commandMetadata, error) {
Expand Down

0 comments on commit 5f40119

Please sign in to comment.