diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-02-09 14:10:58 +0000 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-02-28 10:46:19 +0000 |
commit | 7c109c575016eb0596e20180b334ca2955bd33e6 (patch) | |
tree | a24bcb16fea7c81b30d3fe7d3d2292d2a90d3295 /app/models | |
parent | a7b3f11edd626b7ba2fe4101951d2c9fe884b04a (diff) | |
download | gitlab-ce-7c109c575016eb0596e20180b334ca2955bd33e6.tar.gz |
Refactor CycleAnalytics base stage class and model
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/cycle_analytics.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/cycle_analytics.rb b/app/models/cycle_analytics.rb index a6191e569a7..c7f0e5f5cd8 100644 --- a/app/models/cycle_analytics.rb +++ b/app/models/cycle_analytics.rb @@ -31,7 +31,7 @@ class CycleAnalytics end def [](stage_name) - Gitlab::CycleAnalytics::Stage[stage_name].new(project: @project, options: @options) + Gitlab::CycleAnalytics::Stage[stage_name].new(projects: [@project], options: @options) end private |