From e931706249c7077b6a374f62e036fd3583f674c2 Mon Sep 17 00:00:00 2001
From: Nathan Haneysmith <nathan@chef.io>
Date: Thu, 25 Aug 2016 17:53:46 -0700
Subject: [PATCH] make that variable a string

---
 plugins/inputs/cloudwatch/cloudwatch.go | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/plugins/inputs/cloudwatch/cloudwatch.go b/plugins/inputs/cloudwatch/cloudwatch.go
index 2b6642b2..1eb173d7 100644
--- a/plugins/inputs/cloudwatch/cloudwatch.go
+++ b/plugins/inputs/cloudwatch/cloudwatch.go
@@ -28,12 +28,12 @@ type (
 		Filename  string `toml:"shared_credential_file"`
 		Token     string `toml:"token"`
 
-		Period      internal.Duration  `toml:"period"`
-		Delay       internal.Duration  `toml:"delay"`
-		Namespace   string             `toml:"namespace"`
-		Metrics     []*Metric          `toml:"metrics"`
-		CacheTTL    internal.Duration  `toml:"cache_ttl"`
-		RateLimit   internal.RateLimit `toml:"ratelimit"`
+		Period      internal.Duration `toml:"period"`
+		Delay       internal.Duration `toml:"delay"`
+		Namespace   string            `toml:"namespace"`
+		Metrics     []*Metric         `toml:"metrics"`
+		CacheTTL    internal.Duration `toml:"cache_ttl"`
+		RateLimit   string            `toml:"ratelimit"`
 		client      cloudwatchClient
 		metricCache *MetricCache
 	}
-- 
GitLab