Commit ce3d98f7 authored by Kamil Trzciński's avatar Kamil Trzciński

Fix static analysis

parent 5646f3f5
...@@ -13,7 +13,7 @@ module Importers ...@@ -13,7 +13,7 @@ module Importers
# custom groups # custom groups
business: 0, business: 0,
response: 1, response: 1,
system: 2, system: 2
} }
scope :common, -> { where(common: true) } scope :common, -> { where(common: true) }
...@@ -80,7 +80,7 @@ module Importers ...@@ -80,7 +80,7 @@ module Importers
query: query['query_range'], query: query['query_range'],
unit: query['unit']) unit: query['unit'])
blk.call(query['id'], attributes) yield(query['id'], attributes)
end end
def find_or_build_metric!(id) def find_or_build_metric!(id)
......
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