Show platform not supported warning only on plugin creation (#6801)

This commit is contained in:
Daniel Nelson
2020-01-02 16:15:48 -08:00
committed by GitHub
parent 25e1636775
commit 8831651799
7 changed files with 112 additions and 102 deletions

View File

@@ -7,7 +7,8 @@ import (
// Wireless is used to store configuration values.
type Wireless struct {
HostProc string `toml:"host_proc"`
HostProc string `toml:"host_proc"`
Log telegraf.Logger `toml:"-"`
}
var sampleConfig = `