diff options
author | Ryan Cobb <rcobb@gitlab.com> | 2019-07-09 15:31:28 -0600 |
---|---|---|
committer | Ryan Cobb <rcobb@gitlab.com> | 2019-07-09 17:02:08 -0600 |
commit | df8a56e630a4f4df93fbc54de938f31542539d31 (patch) | |
tree | dd995a9294569374fe48b244c972b0b5456100d9 /db | |
parent | 68b37a99f4032deb9b1f196451a09c051274480c (diff) | |
download | gitlab-ce-df8a56e630a4f4df93fbc54de938f31542539d31.tar.gz |
Rename Gitlab::Importers module
In order to avoid confusion between Gitlab::Importers module and other
like named modules, this renamed it to Gitlab::DatabaseImporters.
Diffstat (limited to 'db')
6 files changed, 6 insertions, 6 deletions
diff --git a/db/fixtures/development/99_common_metrics.rb b/db/fixtures/development/99_common_metrics.rb index 0406ce0c8c9..d52f78ea536 100644 --- a/db/fixtures/development/99_common_metrics.rb +++ b/db/fixtures/development/99_common_metrics.rb @@ -1,3 +1,3 @@ # frozen_string_literal: true -::Gitlab::Importers::CommonMetrics::Importer.new.execute +::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute diff --git a/db/fixtures/production/999_common_metrics.rb b/db/fixtures/production/999_common_metrics.rb index 0406ce0c8c9..d52f78ea536 100644 --- a/db/fixtures/production/999_common_metrics.rb +++ b/db/fixtures/production/999_common_metrics.rb @@ -1,3 +1,3 @@ # frozen_string_literal: true -::Gitlab::Importers::CommonMetrics::Importer.new.execute +::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute diff --git a/db/migrate/20180831164910_import_common_metrics.rb b/db/migrate/20180831164910_import_common_metrics.rb index cc50ac71f49..4e61a25c1ad 100644 --- a/db/migrate/20180831164910_import_common_metrics.rb +++ b/db/migrate/20180831164910_import_common_metrics.rb @@ -6,7 +6,7 @@ class ImportCommonMetrics < ActiveRecord::Migration[4.2] DOWNTIME = false def up - ::Gitlab::Importers::CommonMetrics::Importer.new.execute + ::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute end def down diff --git a/db/migrate/20181006004100_import_common_metrics_nginx_vts.rb b/db/migrate/20181006004100_import_common_metrics_nginx_vts.rb index 50d3e406496..2b238774dca 100644 --- a/db/migrate/20181006004100_import_common_metrics_nginx_vts.rb +++ b/db/migrate/20181006004100_import_common_metrics_nginx_vts.rb @@ -4,7 +4,7 @@ class ImportCommonMetricsNginxVts < ActiveRecord::Migration[5.0] DOWNTIME = false def up - ::Gitlab::Importers::CommonMetrics::Importer.new.execute + ::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute end def down diff --git a/db/migrate/20190326164045_import_common_metrics_knative.rb b/db/migrate/20190326164045_import_common_metrics_knative.rb index 46f074ef780..6b331755774 100644 --- a/db/migrate/20190326164045_import_common_metrics_knative.rb +++ b/db/migrate/20190326164045_import_common_metrics_knative.rb @@ -6,7 +6,7 @@ class ImportCommonMetricsKnative < ActiveRecord::Migration[5.0] DOWNTIME = false def up - ::Gitlab::Importers::CommonMetrics::Importer.new.execute + ::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute end def down diff --git a/db/migrate/20190408163745_prometheus_knative05_fix.rb b/db/migrate/20190408163745_prometheus_knative05_fix.rb index 1b8e07a8c08..3d0aa782669 100644 --- a/db/migrate/20190408163745_prometheus_knative05_fix.rb +++ b/db/migrate/20190408163745_prometheus_knative05_fix.rb @@ -9,7 +9,7 @@ class PrometheusKnative05Fix < ActiveRecord::Migration[5.0] DOWNTIME = false def up - ::Gitlab::Importers::CommonMetrics::Importer.new.execute + ::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute end def down |