Skip to content

Commit

Permalink
Fixing formatting issues that golangci-lint has not detectged
Browse files Browse the repository at this point in the history
  • Loading branch information
iwankgb committed Jul 28, 2020
1 parent f84c910 commit 1a91759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion perf/collector_libpfm.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func readPerfStat(file readerCloser, name string, cpu int) (*info.PerfStat, erro

stat := info.PerfStat{
PerfValue: value,
Cpu: cpu,
Cpu: cpu,
}

return &stat, nil
Expand Down
4 changes: 2 additions & 2 deletions perf/uncore_libpfm.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ func readPerfUncoreStat(file readerCloser, name string, cpu int, pmu string, top
}
stat := info.PerfUncoreStat{
PerfValue: value,
Socket: sysinfo.GetSocketFromCPU(topology, cpu),
PMU: pmu,
Socket: sysinfo.GetSocketFromCPU(topology, cpu),
PMU: pmu,
}

return &stat, nil
Expand Down

0 comments on commit 1a91759

Please sign in to comment.