Port this style change from EE

This commit is contained in:
Lin Jen-Shin 2019-01-30 01:16:43 +08:00
parent 2d24dca485
commit 965f40d9ac

View file

@ -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.