Fix up AWS plugin docs so they don't use single quotes. (#1991)

Also don't use named returns in fetchNamespaceMetrics since it's
non-standard for the rest of the codebase.
This commit is contained in:
John Engelman
2016-11-04 08:16:41 -05:00
committed by Cameron Sparr
parent 47de43abf3
commit b349800f7a
3 changed files with 25 additions and 27 deletions

View File

@@ -30,7 +30,7 @@ type CloudWatch struct {
var sampleConfig = `
## Amazon REGION
region = 'us-east-1'
region = "us-east-1"
## Amazon Credentials
## Credentials are loaded in the following order
@@ -48,7 +48,7 @@ var sampleConfig = `
#shared_credential_file = ""
## Namespace for the CloudWatch MetricDatums
namespace = 'InfluxData/Telegraf'
namespace = "InfluxData/Telegraf"
`
func (c *CloudWatch) SampleConfig() string {