diff --git a/plugins/inputs/win_eventlog/win_eventlog_notwindows.go b/plugins/inputs/win_eventlog/win_eventlog_notwindows.go index 2513147be..6cdf140a2 100644 --- a/plugins/inputs/win_eventlog/win_eventlog_notwindows.go +++ b/plugins/inputs/win_eventlog/win_eventlog_notwindows.go @@ -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 {