Skip to content

Commit

Permalink
Merge pull request shadabahmed#94 from yuc-zhu/master
Browse files Browse the repository at this point in the history
bug fixed: custom_fields is empty
  • Loading branch information
shadabahmed committed Feb 12, 2016
2 parents 4d08bcb + 57538fa commit a327870
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/logstasher/action_view/log_subscriber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def runtimes(event)

def extract_custom_fields(data)
custom_fields = (!LogStasher.custom_fields.empty? && data.extract!(*LogStasher.custom_fields)) || {}
LogStasher.custom_fields.clear
custom_fields
end
end
Expand Down

0 comments on commit a327870

Please sign in to comment.