go fmt update

This commit is contained in:
Nathan Haneysmith 2016-09-20 15:36:45 -07:00
parent 5dd8f4e02b
commit 43d04f45e1
1 changed files with 3 additions and 4 deletions

View File

@ -59,7 +59,6 @@ type (
ListMetrics(*cloudwatch.ListMetricsInput) (*cloudwatch.ListMetricsOutput, error) ListMetrics(*cloudwatch.ListMetricsInput) (*cloudwatch.ListMetricsOutput, error)
GetMetricStatistics(*cloudwatch.GetMetricStatisticsInput) (*cloudwatch.GetMetricStatisticsOutput, error) GetMetricStatistics(*cloudwatch.GetMetricStatisticsInput) (*cloudwatch.GetMetricStatisticsOutput, error)
} }
) )
func (c *CloudWatch) SampleConfig() string { func (c *CloudWatch) SampleConfig() string {
@ -212,9 +211,9 @@ func init() {
inputs.Add("cloudwatch", func() telegraf.Input { inputs.Add("cloudwatch", func() telegraf.Input {
ttl, _ := time.ParseDuration("1hr") ttl, _ := time.ParseDuration("1hr")
return &CloudWatch{ return &CloudWatch{
CacheTTL: internal.Duration{Duration: ttl}, CacheTTL: internal.Duration{Duration: ttl},
RateLimit: 10, RateLimit: 10,
CWInterval: internal.Duration{Duration: 0}, CWInterval: internal.Duration{Duration: 0},
} }
}) })
} }