Skip to content

Commit

Permalink
Use Publisher.Client to post events
Browse files Browse the repository at this point in the history
- Fixes #4
- libbeat API changed at: elastic/beats#1402
  • Loading branch information
chrsblck committed Sep 6, 2016
1 parent 1dbd2de commit 72de76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beat/redisbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (rb *Redisbeat) Config(b *beat.Beat) error {
}

func (rb *Redisbeat) Setup(b *beat.Beat) error {
rb.events = b.Events
rb.events = b.Publisher.Connect()
rb.done = make(chan struct{})

// Set up redis pool
Expand Down

0 comments on commit 72de76f

Please sign in to comment.