Fixed content-type header in output plugin OpenTSDB (#2663)
This commit is contained in:
parent
3e0c55bff9
commit
9388fff1f7
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue