Skip to content

Commit

Permalink
Changes for gofmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevan committed May 17, 2023
1 parent 171cbed commit 0c4a4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collector/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (ac *awsCollector) collect(dbid string, out *pgmetrics.RDS) (err error) {
avmetrics, err := cwsvc.ListMetrics(&cloudwatch.ListMetricsInput{
Namespace: aws.String("AWS/RDS"),
Dimensions: []*cloudwatch.DimensionFilter{
&cloudwatch.DimensionFilter{
{
Name: aws.String("DBInstanceIdentifier"),
Value: aws.String(dbid),
},
Expand All @@ -92,7 +92,7 @@ func (ac *awsCollector) collect(dbid string, out *pgmetrics.RDS) (err error) {
MetricStat: &cloudwatch.MetricStat{
Metric: &cloudwatch.Metric{
Dimensions: []*cloudwatch.Dimension{
&cloudwatch.Dimension{
{
Name: aws.String("DBInstanceIdentifier"),
Value: aws.String(dbid),
},
Expand Down

0 comments on commit 0c4a4d3

Please sign in to comment.