Skip to content

Commit 414ada9

Browse files
committed
Fix telegraf 1.22.0 build on OpenBSD/arm64:
../../../go/pkg/mod/github.com/shirou/gopsutil/[email protected]/cpu/cpu_openbsd.go:63:14: undefined: cpuTimes
1 parent a270a18 commit 414ada9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cpu/cpu_openbsd_arm64.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package cpu
2+
3+
type cpuTimes struct {
4+
User uint64
5+
Nice uint64
6+
Sys uint64
7+
Spin uint64
8+
Intr uint64
9+
Idle uint64
10+
}

0 commit comments

Comments
 (0)