diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-12-20 11:01:48 +0000 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-12-22 11:44:43 +0100 |
commit | f6de2fc57806a4b41c677f388afaf31984be632e (patch) | |
tree | c87054874ed97ca2666e67f8c012179763f68776 | |
parent | 1b6c663cb29ed42433a87a64926d4267c25d3177 (diff) | |
download | gitlab-ce-24224-fix-project-ref-cache.tar.gz |
Use `ref` variable24224-fix-project-ref-cache
-rw-r--r-- | lib/banzai/filter/abstract_reference_filter.rb | 2 |
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 |