hooks: fire pipeline_stopped when pipeline is stopped

Fixes #9627
This commit is contained in:
Ry Biesemeyer 2018-05-21 22:25:33 +00:00
parent 807cbc1071
commit db35ced2a7

View file

@ -334,7 +334,7 @@ class LogStash::Agent
when LogStash::PipelineAction::Reload
dispatcher.fire(:pipeline_stopped, get_pipeline(action.pipeline_id))
when LogStash::PipelineAction::Stop
dispatcher.fire(:pipeline_started, get_pipeline(action.pipeline_id))
dispatcher.fire(:pipeline_stopped, get_pipeline(action.pipeline_id))
end
end
end