Style change to make code more vertical.

Fixes #10561
This commit is contained in:
Mike Place 2019-03-15 09:38:03 -06:00 committed by Shaunak Kashyap
parent 6bc3ba4804
commit d4a915be2b

View file

@ -27,7 +27,16 @@ module LogStash
def pipeline(pipeline_id)
extract_metrics(
[:stats, :pipelines, pipeline_id.to_sym, :config],
:graph, :ephemeral_id, :hash, :workers, :batch_size, :batch_delay, :config_reload_automatic, :config_reload_interval, :dead_letter_queue_enabled, :dead_letter_queue_path
:graph,
:ephemeral_id,
:hash,
:workers,
:batch_size,
:batch_delay,
:config_reload_automatic,
:config_reload_interval,
:dead_letter_queue_enabled,
:dead_letter_queue_path
).reject{|_, v|v.nil?}
rescue
{}