Go FMT missing...
This commit is contained in:
parent
e7ca9113bc
commit
abdef7c326
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)
|
return nil, fmt.Errorf("Undefined but requested plugin: %s", name)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
isPluginEnabled := false
|
isPluginEnabled := false
|
||||||
if len(filters) > 0 {
|
if len(filters) > 0 {
|
||||||
for _, runeValue := range filters {
|
for _, runeValue := range filters {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package telegraf
|
package telegraf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
"testing"
|
||||||
|
|
||||||
// needing to load the plugins
|
// needing to load the plugins
|
||||||
_ "github.com/influxdb/telegraf/plugins/all"
|
_ "github.com/influxdb/telegraf/plugins/all"
|
||||||
|
|
Loading…
Reference in New Issue