summaryrefslogtreecommitdiff
path: root/lib/gitlab/metrics/method_call.rb
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-09-06 15:40:41 +0200
committerPawel Chojnacki <pawel@chojnacki.ws>2017-11-02 18:11:43 +0100
commit547dd817a59f79516d7d25c5918de22a3d2e0e12 (patch)
treed463ff6273d2d0fc6fe7972837a37d8437c0be5e /lib/gitlab/metrics/method_call.rb
parent4cf6be2be8afdac58a24edbc7d9ae942ed3dca51 (diff)
downloadgitlab-ce-547dd817a59f79516d7d25c5918de22a3d2e0e12.tar.gz
Fix rubocop warnings
Diffstat (limited to 'lib/gitlab/metrics/method_call.rb')
-rw-r--r--lib/gitlab/metrics/method_call.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/metrics/method_call.rb b/lib/gitlab/metrics/method_call.rb
index 0f7ab84a9b4..6d6ecae309b 100644
--- a/lib/gitlab/metrics/method_call.rb
+++ b/lib/gitlab/metrics/method_call.rb
@@ -2,7 +2,7 @@ module Gitlab
module Metrics
# Class for tracking timing information about method calls
class MethodCall
- BASE_LABELS = { module: nil, method: nil }
+ BASE_LABELS = { module: nil, method: nil }.freeze
attr_reader :real_time, :cpu_time, :call_count
def self.call_real_duration_histogram