mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Changed Indexor to Indexer to comply with newest ver of elastigo.
This commit is contained in:
@@ -21,7 +21,7 @@ type ESPlugin struct {
|
||||
ApiPort string
|
||||
Host string
|
||||
Index string
|
||||
indexor *core.BulkIndexor
|
||||
indexor *core.BulkIndexer
|
||||
done chan bool
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ func (p *ESPlugin) Init(URI string) {
|
||||
api.Domain = p.Host
|
||||
api.Port = p.ApiPort
|
||||
|
||||
p.indexor = core.NewBulkIndexorErrors(50, 60)
|
||||
p.indexor = core.NewBulkIndexerErrors(50, 60)
|
||||
p.done = make(chan bool)
|
||||
p.indexor.Run(p.done)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user