chore(processors.aws_ec2): Rename processor to adhere to the standard directory structure (#14780)
This commit is contained in:
parent
2cd12adcd7
commit
c0f8647eb1
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
package all
|
package all
|
||||||
|
|
||||||
import _ "github.com/influxdata/telegraf/plugins/processors/aws/ec2" // register plugin
|
import _ "github.com/influxdata/telegraf/plugins/processors/aws_ec2" // register plugin
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate ../../../../tools/readme_config_includer/generator
|
//go:generate ../../../tools/readme_config_includer/generator
|
||||||
package ec2
|
package aws_ec2
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package ec2
|
package aws_ec2
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
@ -49,14 +49,6 @@ var exceptions = map[string][]packageInfo{
|
||||||
Tag: "parsers.influx",
|
Tag: "parsers.influx",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"processors": {
|
|
||||||
{
|
|
||||||
Category: "processors",
|
|
||||||
Plugin: "aws_ec2",
|
|
||||||
Path: "plugins/processors/aws/ec2",
|
|
||||||
Tag: "processors.aws_ec2",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *packageCollection) collectPackagesForCategory(category string) error {
|
func (p *packageCollection) collectPackagesForCategory(category string) error {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue