Port this style change from EE
This commit is contained in:
parent
2d24dca485
commit
965f40d9ac
1 changed files with 1 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue