mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-28 13:48:49 +08:00
cpu: remove wrong info copied from openbsd
This commit is contained in:
parent
4e662561c2
commit
6a4ec32f3b
@ -1,5 +1,5 @@
|
|||||||
//go:build openbsd
|
//go:build netbsd
|
||||||
// +build openbsd
|
// +build netbsd
|
||||||
|
|
||||||
package cpu
|
package cpu
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ func TimesWithContext(ctx context.Context, percpu bool) (ret []TimesStat, err er
|
|||||||
return ret, nil
|
return ret, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns only one (minimal) CPUInfoStat on OpenBSD
|
// Returns only one (minimal) CPUInfoStat on NetBSD
|
||||||
func Info() ([]InfoStat, error) {
|
func Info() ([]InfoStat, error) {
|
||||||
return InfoWithContext(context.Background())
|
return InfoWithContext(context.Background())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user