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

Fix static analysis

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