chore(processors.aws_ec2): Rename processor to adhere to the standard directory structure (#14780)

This commit is contained in:
Sven Rebhan 2024-02-13 14:37:59 +01:00 committed by GitHub
parent 2cd12adcd7
commit c0f8647eb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 4 additions and 12 deletions

View File

@ -2,4 +2,4 @@
package all
import _ "github.com/influxdata/telegraf/plugins/processors/aws/ec2" // register plugin
import _ "github.com/influxdata/telegraf/plugins/processors/aws_ec2" // register plugin

View File

@ -1,5 +1,5 @@
//go:generate ../../../../tools/readme_config_includer/generator
package ec2
//go:generate ../../../tools/readme_config_includer/generator
package aws_ec2
import (
"context"

View File

@ -1,4 +1,4 @@
package ec2
package aws_ec2
import (
"testing"

View File

@ -49,14 +49,6 @@ var exceptions = map[string][]packageInfo{
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 {