Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-08-22 15:17:11 +0300
committerThong Kuah <tkuah@gitlab.com>2019-08-22 15:17:11 +0300
commitc5acf26e0609ec0c5e16b2fb232d7058e6c066cd (patch)
treee0795905f4f750f6314ae3e8c64207c1f704ce73 /lib/gitlab/profiler.rb
parent8c42a0eac09cb349789c963d38ee4e3ff5ecc0a8 (diff)
Fix frozen string errors
Diffstat (limited to 'lib/gitlab/profiler.rb')
-rw-r--r--lib/gitlab/profiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/profiler.rb b/lib/gitlab/profiler.rb
index ec7671f9a8b..425c30d67fe 100644
--- a/lib/gitlab/profiler.rb
+++ b/lib/gitlab/profiler.rb
@@ -97,7 +97,7 @@ module Gitlab
attr_reader :load_times_by_model, :private_token
def debug(message, *)
- message.gsub!(private_token, FILTERED_STRING) if private_token
+ message = message.gsub(private_token, FILTERED_STRING) if private_token
_, type, time = *message.match(/(\w+) Load \(([0-9.]+)ms\)/)