Commit c5e575e5 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'sy-memoization-typo' into 'master'

Fix typo in memoized method names in spec helper

See merge request gitlab-org/gitlab!25856
parents f0f2ee29 20c09ef3
...@@ -9,7 +9,7 @@ module MetricsDashboardUrlHelpers ...@@ -9,7 +9,7 @@ module MetricsDashboardUrlHelpers
end end
def clear_host_from_memoized_variables def clear_host_from_memoized_variables
[:metrics_regex, :grafana_regex, :cluster_metrics, :alerts_regex].each do |method_name| [:metrics_regex, :grafana_regex, :clusters_regex, :alert_regex].each do |method_name|
Gitlab::Metrics::Dashboard::Url.clear_memoization(method_name) Gitlab::Metrics::Dashboard::Url.clear_memoization(method_name)
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