Skip to content

Commit

Permalink
Merge pull request #4265 from hashicorp/b-fix-cpu-fingerprinter-error…
Browse files Browse the repository at this point in the history
…-msg

Fix the CPU Information error message
  • Loading branch information
angrycub authored May 9, 2018
2 parents ac2f070 + c648159 commit 2640ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/stats/cpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func Init() error {

var cpuInfo []cpu.InfoStat
if cpuInfo, err = cpu.Info(); err != nil {
merrs = multierror.Append(merrs, fmt.Errorf("Unable to obtain CPU information: %v", initErr))
merrs = multierror.Append(merrs, fmt.Errorf("Unable to obtain CPU information: %v", err))
}

for _, cpu := range cpuInfo {
Expand Down

0 comments on commit 2640ef3

Please sign in to comment.