Commit 17f4f482 authored by Rajendra Kadam's avatar Rajendra Kadam

Make linter happy

parent 4c7fb21d
...@@ -212,15 +212,15 @@ module Gitlab ...@@ -212,15 +212,15 @@ module Gitlab
def maximum_id(relation) def maximum_id(relation)
key = :"#{relation.name.downcase}_maximum_id" key = :"#{relation.name.downcase}_maximum_id"
strong_memoize(key) do strong_memoize(key) do
relation.maximum(:id) relation.maximum(:id)
end end
end end
def minimum_id(relation) def minimum_id(relation)
key = :"#{relation.name.downcase}_minimum_id" key = :"#{relation.name.downcase}_minimum_id"
strong_memoize(key) do strong_memoize(key) do
relation.minimum(:id) relation.minimum(:id)
end end
end end
private private
......
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