telegraf/plugins/inputs/procstat/win_service_notwindows.go

12 lines
191 B
Go

// +build !windows
package procstat
import (
"fmt"
)
func queryPidWithWinServiceName(winServiceName string) (uint32, error) {
return 0, fmt.Errorf("os not support win_service option")
}