From 1e95e5337570e5dce4424d33b9b66b81d574f585 Mon Sep 17 00:00:00 2001 From: Chris Goffinet Date: Wed, 12 Apr 2017 20:40:10 -0400 Subject: [PATCH] Fixed content-type header in output plugin OpenTSDB (#2663) --- plugins/outputs/opentsdb/opentsdb_http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/outputs/opentsdb/opentsdb_http.go b/plugins/outputs/opentsdb/opentsdb_http.go index 912ca670a..e74e74f03 100644 --- a/plugins/outputs/opentsdb/opentsdb_http.go +++ b/plugins/outputs/opentsdb/opentsdb_http.go @@ -134,7 +134,7 @@ func (o *openTSDBHttp) flush() error { if err != nil { return fmt.Errorf("Error when building request: %s", err.Error()) } - req.Header.Set("Content-Type", "applicaton/json") + req.Header.Set("Content-Type", "application/json") req.Header.Set("Content-Encoding", "gzip") if o.Debug {