chore: add service input stub to Windows event log, not windows (#12837)

This commit is contained in:
Joshua Powers 2023-03-10 14:11:50 -07:00 committed by GitHub
parent 1b36d73a7d
commit f104c1a708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -20,8 +20,10 @@ func (w *WinEventLog) Init() error {
w.Log.Warn("current platform is not supported")
return nil
}
func (w *WinEventLog) SampleConfig() string { return sampleConfig }
func (w *WinEventLog) Gather(_ telegraf.Accumulator) error { return nil }
func (*WinEventLog) SampleConfig() string { return sampleConfig }
func (*WinEventLog) Gather(_ telegraf.Accumulator) error { return nil }
func (*WinEventLog) Start(_ telegraf.Accumulator) error { return nil }
func (*WinEventLog) Stop() {}
func init() {
inputs.Add("win_eventlog", func() telegraf.Input {