vendor: update elastic/gosigar so that it compiles on OpenBSD (#16542)
This commit is contained in:
committed by
Felix Lange
parent
b15eb665ee
commit
744428cb03
4
vendor/github.com/elastic/gosigar/sigar_darwin.go
generated
vendored
4
vendor/github.com/elastic/gosigar/sigar_darwin.go
generated
vendored
@ -91,6 +91,10 @@ func (self *Swap) Get() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (self *HugeTLBPages) Get() error {
|
||||
return ErrNotImplemented{runtime.GOOS}
|
||||
}
|
||||
|
||||
func (self *Cpu) Get() error {
|
||||
var count C.mach_msg_type_number_t = C.HOST_CPU_LOAD_INFO_COUNT
|
||||
var cpuload C.host_cpu_load_info_data_t
|
||||
|
Reference in New Issue
Block a user