categraf/inputs/procstat/win_service_notwindows.go

13 lines
198 B
Go

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