summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-12-20 11:01:48 +0000
committerDouwe Maan <douwe@selenight.nl>2016-12-22 11:44:43 +0100
commitf6de2fc57806a4b41c677f388afaf31984be632e (patch)
treec87054874ed97ca2666e67f8c012179763f68776
parent1b6c663cb29ed42433a87a64926d4267c25d3177 (diff)
downloadgitlab-ce-24224-fix-project-ref-cache.tar.gz
Use `ref` variable24224-fix-project-ref-cache
-rw-r--r--lib/banzai/filter/abstract_reference_filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/filter/abstract_reference_filter.rb b/lib/banzai/filter/abstract_reference_filter.rb
index 966db96f951..6d04f68c8f9 100644
--- a/lib/banzai/filter/abstract_reference_filter.rb
+++ b/lib/banzai/filter/abstract_reference_filter.rb
@@ -263,7 +263,7 @@ module Banzai
found = []
projects.each do |project|
ref = project.path_with_namespace
- get_or_set_cache(cache, project.path_with_namespace) { project }
+ get_or_set_cache(cache, ref) { project }
found << ref
end