diff options
author | Małgorzata Ksionek <mksionek@gitlab.com> | 2019-07-04 14:10:03 +0200 |
---|---|---|
committer | Małgorzata Ksionek <mksionek@gitlab.com> | 2019-07-09 12:16:37 +0200 |
commit | ae2514d0a1d1ac6eec66c11b3246b365cde0b6c1 (patch) | |
tree | b4c8bca5cb87e25c8f88ab71415a1dff867e9d6f /lib | |
parent | abca34d08ea855638a6e431becc65eb98f10cdb6 (diff) | |
download | gitlab-ce-ae2514d0a1d1ac6eec66c11b3246b365cde0b6c1.tar.gz |
Update class calls
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/cycle_analytics/usage_data.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/cycle_analytics/usage_data.rb b/lib/gitlab/cycle_analytics/usage_data.rb index 913ee373f54..b52fd7ea770 100644 --- a/lib/gitlab/cycle_analytics/usage_data.rb +++ b/lib/gitlab/cycle_analytics/usage_data.rb @@ -32,8 +32,7 @@ module Gitlab def medians_per_stage projects.each_with_object({}) do |project, hsh| - ::CycleAnalytics.new(project, options).all_medians_per_stage.each do |stage_name, median| - hsh[stage_name] ||= [] + ::CycleAnalytics::ProjectLevel.new(project: project, options: options).all_medians_per_stage.each do |stage_name, median| hsh[stage_name] ||= [] hsh[stage_name] << median end end |