Commit 96516f7e authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'ee-6526-port-ee-changes' into 'master'

Port EE style for lib/gitlab/metrics/influx_db.rb

Closes gitlab-ee#6526

See merge request gitlab-org/gitlab-ce!24773
parents 2d24dca4 965f40d9
...@@ -147,9 +147,7 @@ module Gitlab ...@@ -147,9 +147,7 @@ module Gitlab
# #
# See `Gitlab::Metrics::Transaction#add_event` for more details. # See `Gitlab::Metrics::Transaction#add_event` for more details.
def add_event(*args) def add_event(*args)
trans = current_transaction current_transaction&.add_event(*args)
trans&.add_event(*args)
end end
# Returns the prefix to use for the name of a series. # 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