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 1876441ed7
commit 1e95e53375
1 changed files with 1 additions and 1 deletions

View File

@ -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 {