Commit d3d0ebe2 authored by Ryan Cobb's avatar Ryan Cobb

Fully namespace importer in migrations

parent ea0106d8
# frozen_string_literal: true
Importers::CommonMetrics::Importer.new.execute
::Gitlab::Importers::CommonMetrics::Importer.new.execute
# frozen_string_literal: true
Importers::CommonMetrics::Importer.new.execute
::Gitlab::Importers::CommonMetrics::Importer.new.execute
......@@ -4,7 +4,7 @@ class ImportCommonMetricsNginxVts < ActiveRecord::Migration[5.0]
DOWNTIME = false
def up
Importers::CommonMetrics::Importer.new.execute
::Gitlab::Importers::CommonMetrics::Importer.new.execute
end
def down
......
......@@ -6,7 +6,7 @@ class ImportCommonMetricsKnative < ActiveRecord::Migration[5.0]
DOWNTIME = false
def up
Importers::CommonMetrics::Importer.new.execute
::Gitlab::Importers::CommonMetrics::Importer.new.execute
end
def down
......
......@@ -9,7 +9,7 @@ class PrometheusKnative05Fix < ActiveRecord::Migration[5.0]
DOWNTIME = false
def up
Importers::CommonMetrics::Importer.new.execute
::Gitlab::Importers::CommonMetrics::Importer.new.execute
end
def down
......
......@@ -36,7 +36,7 @@ class ImportCommonMetrics < ActiveRecord::Migration[4.2]
DOWNTIME = false
def up
Importers::CommonMetrics::Importer.new.execute
::Gitlab::Importers::CommonMetrics::Importer.new.execute
end
def down
......
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