Commit 965f40d9 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Port this style change from EE

parent 2d24dca4
......@@ -147,9 +147,7 @@ module Gitlab
#
# See `Gitlab::Metrics::Transaction#add_event` for more details.
def add_event(*args)
trans = current_transaction
trans&.add_event(*args)
current_transaction&.add_event(*args)
end
# Returns the prefix to use for the name of a series.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment