Go FMT missing...
This commit is contained in:
1
agent.go
1
agent.go
@@ -114,7 +114,6 @@ func (a *Agent) LoadPlugins(pluginsFilter string) ([]string, error) {
|
||||
return nil, fmt.Errorf("Undefined but requested plugin: %s", name)
|
||||
}
|
||||
|
||||
|
||||
isPluginEnabled := false
|
||||
if len(filters) > 0 {
|
||||
for _, runeValue := range filters {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package telegraf
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
|
||||
// needing to load the plugins
|
||||
_ "github.com/influxdb/telegraf/plugins/all"
|
||||
|
||||
Reference in New Issue
Block a user