Skip to content

Commit

Permalink
- Refactoring for default configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangalsterer committed Feb 19, 2017
1 parent 00f26de commit a87aa73
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 7 additions & 7 deletions beater/poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a87aa73

Please sign in to comment.