Skip to content

Commit

Permalink
update from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
nvanthao committed May 20, 2024
1 parent 958ceca commit 77e36de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/collect/host_kernel_configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (c *CollectHostKernelConfigs) Collect(progressChan chan<- interface{}) (map
func getKernelRelease() (string, error) {
out, err := exec.Command("uname", "-r").Output()
if err != nil {
return "", errors.Wrap(err, "failed to determine kernel release")
return "", errors.Wrap(err, "failed to determine kernel release using uname -r")
}
release := strings.TrimSpace(string(out))
return release, nil
Expand Down

0 comments on commit 77e36de

Please sign in to comment.