Commit 6735f4c7 authored by rpereira2's avatar rpereira2 Committed by syasonik

Make dashboard a top level key

- Since each yml file can hold only one dashboard.
parent cad7a7bb
......@@ -38,7 +38,7 @@ module Importers
attr_reader :content
def initialize(filename = 'common_metrics.yml')
@content = YAML.load_file(Rails.root.join('config', 'prometheus', filename)).first
@content = YAML.load_file(Rails.root.join('config', 'prometheus', filename))
end
def execute
......
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