Commit 4ff63ce2 authored by James Lopez's avatar James Lopez

Merge branch 'time-windows-cleanup' into 'master'

Make EE prometheus args behavior default -> metrics time window

Closes #10894

See merge request gitlab-org/gitlab-ee!10371
parents ce0e0d3e 9ebbad29
......@@ -10,14 +10,5 @@ module EE
clear_reactive_cache!(query_class.name, *query_args)
end
private
override :build_query_args
def build_query_args(*args)
args.map do |arg|
arg.respond_to?(:id) ? arg.id : arg
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment