mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
parent
e925b4c48d
commit
1802869d80
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ module LogStash
|
||||||
state = @states.get(pipeline_id)
|
state = @states.get(pipeline_id)
|
||||||
if state.nil?
|
if state.nil?
|
||||||
logger.error("Attempted to terminate a pipeline that does not exists", :pipeline_id => pipeline_id)
|
logger.error("Attempted to terminate a pipeline that does not exists", :pipeline_id => pipeline_id)
|
||||||
@states.remote(pipeline_id)
|
@states.remove(pipeline_id)
|
||||||
else
|
else
|
||||||
yield(state.pipeline)
|
yield(state.pipeline)
|
||||||
@states.put(pipeline_id, state)
|
@states.put(pipeline_id, state)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue