Go FMT missing...

This commit is contained in:
nicolas 2015-08-11 19:01:37 +02:00
parent e7ca9113bc
commit abdef7c326
2 changed files with 4 additions and 5 deletions

View File

@ -114,9 +114,8 @@ func (a *Agent) LoadPlugins(pluginsFilter string) ([]string, error) {
return nil, fmt.Errorf("Undefined but requested plugin: %s", name)
}
isPluginEnabled := false
if len(filters)>0 {
if len(filters) > 0 {
for _, runeValue := range filters {
if runeValue != "" && strings.ToLower(runeValue) == strings.ToLower(name) {
fmt.Printf("plugin [%s] is enabled (filter options)\n", name)

View File

@ -1,10 +1,10 @@
package telegraf
import (
"testing"
"github.com/stretchr/testify/assert"
"testing"
// needing to load the plugins
// needing to load the plugins
_ "github.com/influxdb/telegraf/plugins/all"
)
@ -100,4 +100,4 @@ func TestAgent_AppliesTags(t *testing.T) {
err := a.crank()
require.NoError(t, err)
}
*/
*/