Fix undefined process.Processes when building telegraf on Solaris-based system
This commit is contained in:
parent
d9d9688f3d
commit
391d5ecf7d
|
@ -36,6 +36,14 @@ func PidsWithContext(ctx context.Context) ([]int32, error) {
|
|||
return []int32{}, common.ErrNotImplementedError
|
||||
}
|
||||
|
||||
func Processes() ([]*Process, error) {
|
||||
return nil, common.ErrNotImplementedError
|
||||
}
|
||||
|
||||
func ProcessesWithContext(ctx context.Context) ([]*Process, error) {
|
||||
return nil, common.ErrNotImplementedError
|
||||
}
|
||||
|
||||
func NewProcess(pid int32) (*Process, error) {
|
||||
return nil, common.ErrNotImplementedError
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue