diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 12:08:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 12:08:11 +0300 |
commit | 5064bf8c5647d4c4430cbb4d097cf1592416de29 (patch) | |
tree | d051bf2abe2cc7061b3a7facb6669a56ccb9cf54 /db/fixtures | |
parent | 9c83aadd2604e7e6cb1f84683f951e6b12872618 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/development/17_cycle_analytics.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/fixtures/development/17_cycle_analytics.rb b/db/fixtures/development/17_cycle_analytics.rb index 1bdaabad704..958412f30ed 100644 --- a/db/fixtures/development/17_cycle_analytics.rb +++ b/db/fixtures/development/17_cycle_analytics.rb @@ -30,7 +30,7 @@ class Gitlab::Seeder::CycleAnalytics REVIEW_STAGE_MAX_DURATION_IN_HOURS = 72 DEPLOYMENT_MAX_DURATION_IN_HOURS = 48 - def self.seeder_base_on_env(project) + def self.seeder_based_on_env(project) if ENV[FLAG] self.new(project: project) elsif ENV[PERF_TEST] @@ -194,7 +194,7 @@ Gitlab::Seeder.quiet do project_id = ENV['CYCLE_ANALYTICS_SEED_PROJECT_ID'] project = Project.find(project_id) if project_id - seeder = Gitlab::Seeder::CycleAnalytics.seeder_base_on_env(project) + seeder = Gitlab::Seeder::CycleAnalytics.seeder_based_on_env(project) if seeder seeder.seed! |