mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- responses should always have the same id as the request.
This commit is contained in:
parent
405a813f68
commit
bff4949129
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ module LogStash; module Net; module Servers
|
|||
|
||||
def DirectoryRequestHandler(request)
|
||||
response = LogStash::Net::Messages::DirectoryResponse.new
|
||||
response.id = request.id
|
||||
response.indexers = @indexers.keys
|
||||
yield response
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue