diff --git a/README.md b/README.md index 0a0867e..46ba5b9 100644 --- a/README.md +++ b/README.md @@ -141,11 +141,11 @@ This will fetch and create all images required for the build process. The hole p # Releases and Downloads -4.0.0 (WiP) [Download](https://github.com/christiangalsterer/httpbeat/releases/tag/4.0.0) +4.0.0 (2017-02-19) [Download](https://github.com/christiangalsterer/httpbeat/releases/tag/4.0.0) Feature and bugfix release containing the following **breaking** changes: -* Renamed configuration parameter `urls`to `hosts`. Please update your configuration accordingly. -* Renamed configuration parameter `cron`to `schedule`. Please update your configuration accordingly. +* Renamed configuration parameter `urls` to `hosts`. Please update your configuration accordingly. +* Renamed configuration parameter `cron` to `schedule`. Please update your configuration accordingly. * Update to beats v5.2.1 * Fix: Default schedule not working diff --git a/beater/poller.go b/beater/poller.go index 50f146c..96ac25e 100644 --- a/beater/poller.go +++ b/beater/poller.go @@ -15,14 +15,14 @@ import ( ) type Poller struct { - httpbeat *Httpbeat - config config.HostConfig - schedule string - documentType string + httpbeat *Httpbeat + config config.HostConfig + schedule string + documentType string jsonDotModeCharacter string - outputFormat string - timeout time.Duration - request *gorequest.SuperAgent + outputFormat string + timeout time.Duration + request *gorequest.SuperAgent } func NewPooler(httpbeat *Httpbeat, config config.HostConfig) *Poller {