mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -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)
|
||||
if state.nil?
|
||||
logger.error("Attempted to terminate a pipeline that does not exists", :pipeline_id => pipeline_id)
|
||||
@states.remote(pipeline_id)
|
||||
@states.remove(pipeline_id)
|
||||
else
|
||||
yield(state.pipeline)
|
||||
@states.put(pipeline_id, state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue