Commit 547dd817 authored by Pawel Chojnacki's avatar Pawel Chojnacki

Fix rubocop warnings

parent 4cf6be2b
...@@ -2,7 +2,7 @@ module Gitlab ...@@ -2,7 +2,7 @@ module Gitlab
module Metrics module Metrics
# Class for tracking timing information about method calls # Class for tracking timing information about method calls
class MethodCall class MethodCall
BASE_LABELS = { module: nil, method: nil } BASE_LABELS = { module: nil, method: nil }.freeze
attr_reader :real_time, :cpu_time, :call_count attr_reader :real_time, :cpu_time, :call_count
def self.call_real_duration_histogram def self.call_real_duration_histogram
......
...@@ -62,4 +62,3 @@ module Gitlab ...@@ -62,4 +62,3 @@ module Gitlab
end end
end end
end end
...@@ -100,4 +100,4 @@ module Gitlab ...@@ -100,4 +100,4 @@ module Gitlab
end end
end end
end end
end end
\ No newline at end of file
...@@ -47,4 +47,4 @@ module Gitlab ...@@ -47,4 +47,4 @@ module Gitlab
end end
end end
end end
end end
\ No newline at end of file
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