mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-24 13:48:56 +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
|
||||
// +build openbsd
|
||||
//go:build netbsd
|
||||
// +build netbsd
|
||||
|
||||
package cpu
|
||||
|
||||
@ -89,7 +89,7 @@ func TimesWithContext(ctx context.Context, percpu bool) (ret []TimesStat, err er
|
||||
return ret, nil
|
||||
}
|
||||
|
||||
// Returns only one (minimal) CPUInfoStat on OpenBSD
|
||||
// Returns only one (minimal) CPUInfoStat on NetBSD
|
||||
func Info() ([]InfoStat, error) {
|
||||
return InfoWithContext(context.Background())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user