21 lines
390 B
Go
21 lines
390 B
Go
//go:build !linux
|
|
|
|
package systemd_units
|
|
|
|
import "github.com/influxdata/telegraf"
|
|
|
|
type archParams struct{}
|
|
|
|
func (s *SystemdUnits) Init() error {
|
|
s.Log.Info("Skipping plugin as it is not supported by this platform!")
|
|
|
|
// Required to remove linter-warning on unused struct member
|
|
_ = s.archParams
|
|
|
|
return nil
|
|
}
|
|
|
|
func (*SystemdUnits) Gather(_ telegraf.Accumulator) error {
|
|
return nil
|
|
}
|