Skip to content
Snippets Groups Projects
Commit 056b0f19 authored by James Lopez's avatar James Lopez
Browse files

fix missing refactor in metrics fetcher

parent 099aa124
No related branches found
No related tags found
No related merge requests found
Loading
@@ -25,9 +25,9 @@ module Gitlab
Loading
@@ -25,9 +25,9 @@ module Gitlab
# cycle analytics stage. # cycle analytics stage.
interval_query = Arel::Nodes::As.new( interval_query = Arel::Nodes::As.new(
cte_table, cte_table,
subtract_datetimes(base_query_for(name), @stage.start_time_attrs, @stage.end_time_attrs, @stage.stage.to_s)) subtract_datetimes(base_query_for(@stage.stage), @stage.start_time_attrs, @stage.end_time_attrs, @stage.stage.to_s))
   
median_datetime(cte_table, interval_query, name) median_datetime(cte_table, interval_query, @stage.stage)
end end
   
def events def events
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment