telegraf/plugins/inputs/systemd_units/systemd_units_notlinux.go

21 lines
390 B
Go
Raw Normal View History

//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
}