mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Fix typo
This commit is contained in:
@@ -74,7 +74,7 @@ func (p *ESPlugin) Init(URI string) {
|
||||
err, p.Host, p.ApiPort, p.Index = parseURI(URI)
|
||||
|
||||
api.Domain = p.Host
|
||||
api.Port = p.Host
|
||||
api.Port = p.ApiPort
|
||||
|
||||
if err != nil {
|
||||
log.Fatal("Can't initialize ElasticSearch plugin.", err)
|
||||
|
||||
Reference in New Issue
Block a user