Fixed content-type header in output plugin OpenTSDB (#2663)

This commit is contained in:
Chris Goffinet 2017-04-12 20:40:10 -04:00 committed by Daniel Nelson
parent 3e0c55bff9
commit 9388fff1f7
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func (o *openTSDBHttp) flush() error {
if err != nil { if err != nil {
return fmt.Errorf("Error when building request: %s", err.Error()) 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") req.Header.Set("Content-Encoding", "gzip")
if o.Debug { if o.Debug {