Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyan-sheng committed May 31, 2021
1 parent 3f23e48 commit 43ec3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/metricbeat/module/aws/cloudwatch/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (
namespaceEC2 = "AWS/EC2"
)

// addMetadata returns a service to fetch metadata from a config struct.
// addMetadata adds metadata to the given events map based on namespace
func addMetadata(namespace string, endpoint string, regionName string, awsConfig awssdk.Config, events map[string]mb.Event) map[string]mb.Event {
switch namespace {
case namespaceEC2:
Expand Down

0 comments on commit 43ec3f0

Please sign in to comment.