Skip to content

Commit

Permalink
cpu: implement int32 counter for PDH calls as well.
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Otto Kröpke <[email protected]>
  • Loading branch information
jkroepke committed Nov 3, 2024
1 parent 46504d9 commit 88c7f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/perfdata/perfdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var (
AllInstances = []string{"*"}
)

func NewCollector(engine Engine, object string, instances []string, counters []string) (Collector, error) {
func NewCollector(engine Engine, object string, instances []string, counters []string) (Collector, error) { //nolint:ireturn
switch engine {
case V1:
return v1.NewCollector(object, instances, counters)
Expand Down

0 comments on commit 88c7f51

Please sign in to comment.