diff options
author | Ryan Cobb <rcobb@gitlab.com> | 2019-07-04 02:19:15 +0300 |
---|---|---|
committer | Ryan Cobb <rcobb@gitlab.com> | 2019-07-10 02:02:08 +0300 |
commit | 36f39eb3189a4caa5225214570de3bfdcd418df1 (patch) | |
tree | 5667a649c146496c5ca41e936a1c87f2c7ace9ca /db/migrate/20190408163745_prometheus_knative05_fix.rb | |
parent | 3cabc5581e4d96180c83fbe3d24362bb2c64f2be (diff) |
Remove CommonMetricsImporter patch
Remove CommonMetricsImporter patch and change all references to
CommonMetrics::Importer. Move specs into their appropriate folders. Also
cleans up some common_metric importer namespacing.
Diffstat (limited to 'db/migrate/20190408163745_prometheus_knative05_fix.rb')
-rw-r--r-- | db/migrate/20190408163745_prometheus_knative05_fix.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/db/migrate/20190408163745_prometheus_knative05_fix.rb b/db/migrate/20190408163745_prometheus_knative05_fix.rb index c11f6f0e29b..1b8e07a8c08 100644 --- a/db/migrate/20190408163745_prometheus_knative05_fix.rb +++ b/db/migrate/20190408163745_prometheus_knative05_fix.rb @@ -6,12 +6,10 @@ class PrometheusKnative05Fix < ActiveRecord::Migration[5.0] include Gitlab::Database::MigrationHelpers - require Rails.root.join('db/importers/common_metrics_importer.rb') - DOWNTIME = false def up - Importers::CommonMetricsImporter.new.execute + ::Gitlab::Importers::CommonMetrics::Importer.new.execute end def down |